Silent Coding: Ensure Flutter widget is visible

Опубликовано: 01 Январь 1970
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн Silent Coding: Ensure Flutter widget is visible длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Codeify 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 982 раз и оно понравилось 16 зрителям. Приятного просмотра!