Silent Coding: Ensure Flutter widget is visible

Veröffentlicht am: 01 Januar 1970
auf dem Kanal: Codeify
982
16

In this video, we are going to check out how we make sure the widget is visible on the screen when we are dealing with the ScrollView(s).

You can use the `ensureVisible()` method to make your particular widget visible using its unique `Key`.

`ensureVisible()` allows to scroll to the desired widget easily, consider this method only for small predefined lists. As for bigger lists, you'll get performance problems.

Also, this will not work with `ListView` as it won't render non-visible items. Meaning that your widget most likely will not be built at all and your widget will have no context; preventing you from using that method without some more work.

If you like this video then please do subscribe to my channel: http://bit.ly/subscribe_codeify

Like this video and Do let me know your feedback in the comment section, and do let me know if you want me to create a video on specific content.

Connect with me on social media:

Twitter:   / ibhavikmakwana  
Instagram:   / ibhavikmakwana  
Medium:   / ibhavikmakwana  

Thank you for watching! Like, Share, and Subscribe to this channel to see more content like this.


Auf dieser Seite können Sie das Online-Video Silent Coding: Ensure Flutter widget is visible mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Codeify 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 982 Mal angesehen und es wurde von 16 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!