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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Silent Coding: Ensure Flutter widget is visible durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Codeify 01 janvier 1970, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 982 fois et il a aimé 16 téléspectateurs. Bon visionnage!