Silent Coding: Ensure Flutter widget is visible

Published: 01 January 1970
on channel: 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.


On this page of the site you can watch the video online Silent Coding: Ensure Flutter widget is visible with a duration of hours minute second in good quality, which was uploaded by the user Codeify 01 January 1970, share the link with friends and acquaintances, this video has already been watched 982 times on youtube and it was liked by 16 viewers. Enjoy your viewing!