I'm using NestedScrollView in order to achieve scroll show appbar gesture on myApp. Not sure what could be the issue, once scrolled down, doesnt show up again til you restart .
body:
NestedScrollView(
controller: _scrollController,
headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
return <Widget>[
SliverOverlapAbsorber(
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
sliver: SliverAppBar(
backgroundColor: Colors.red,
floating: true,
pinned: true,
toolbarHeight: 80,
automaticallyImplyLeading: false,
bottom:
PreferredSize(
preferredSize: Size.fromHeight(0),
child: new Offstage(),
),
elevation: 0,
actions: <Widget>[
// Icons
],
),
),
];
},
body:
SafeArea(
child: PageView(
controller: _pageController,
physics: NeverScrollableScrollPhysics(),
children: <Widget>[
UserListPage(),
MerchantListPage(),
],
),
),
),
