Silent Coding: Ensure Flutter widget is visible

Pubblicato il: 01 gennaio 1970
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Silent Coding: Ensure Flutter widget is visible della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Codeify 01 gennaio 1970, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 982 volte e gli è piaciuto 16 spettatori. Buona visione!