'Hide SliverAppBar when when app is started
I want to open SliverAppBar only when I pull down, SliverAppBar is hiding automatically when scrolling down, but when I open the app, I want the appbar to hide, and only appear when I pull down.
body: CustomScrollView(
slivers: [
SliverAppBar(
title: Text('Pull down to create item'),
floating: false,
pinned: false,
),
]
Solution 1:[1]
Set floating: true, on SliverAppBar
SliverAppBar(
title: Text('Pull down to create item'),
floating: true,
pinned: false,
),
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yeasin Sheikh |

