Can anyone tell how to implementation auto hide appbar when scroll down and if we scroll up the app bar appear again. Any code example will be appreciated
New to flutter curious about how to implement this
CodePudding user response:
You can check on Slivers this is considered an Advanced Level layouting.
You can check this tutorial too
CodePudding user response:
What you are looking for is the SliverAppBar and not the normal AppBar. With the
SliverAppBar
You can set floating: true, snap: true:, pinned: false to hide the appbar while scrolling. See more about how to customize the appbar here