How to hide BottomAppBar on scroll when using Sliver widgets in flutter?

Posted by Jennifer | Updated on

Want to hide BottomAppBar on scroll when using Sliver widgets in flutter? BottomAppBar is part of Scaffold widget, not Sliver. There’s a way to achieve what you described, but it’s a little bit complicated and required StatefulWiget and ScrollController, AnimatedContainer. See the full sample code below:


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