How to add scrolling to a widget in ListView in Flutter?

Posted by Pinki | Updated on

Want to add scrolling to a widget in ListView in Flutter? The easiest solution is to use Scrollable.ensureVisible(context). As it does everything for you and work with any widget size. Fetching the context using GlobalKey.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers