I am currently working with SliverAppBar and i am facing problem while Scrolling the sliverList.
In the Picture above, my TabBar is going all the way up to the notification bar. When sliverAppBar collapse, I want my Tabbar to stick to the bottom of the AppBar.
Here is my Code that i am trying...
return Scaffold(
body: CustomScrollView(
slivers: <Widget>[
SliverAppBar(
//backgroundColor: Colors.transparent,
actions: <Widget>[
IconButton(icon: Icon(Icons.favorite), onPressed: () {}),
IconButton(icon: Icon(Icons.share), onPressed: () {})
],
floating: false,
pinned: true,
expandedHeight: getHeight(context),
flexibleSpace: FlexibleSpaceBar(
title: Text("text"),
background: Container(
height: double.infinity,
width: double.infinity,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(currentImage),
fit: BoxFit.cover)),
),
),
),
SliverList(
delegate: SliverChildListDelegate(bottomListView),
),
],
)
,
);