Closed KingWu closed 4 years ago
SliverPersistentHeader is the same , and it's include in pinned header height
// widgets.add(SliverPersistentHeader(
// pinned: true,
// floating: false,
// delegate: CommonSliverPersistentHeaderDelegate(
// Container(
// child: primaryTabBar,
// //color: Colors.white,
// ),
// primaryTabBar.preferredSize.height)));
But, i found these codes are commented. You mean extended.NestScrollView is handled the pinned header internally?
right.you can use SliverPersistentHeader , and remember set pinnedHeaderHeight.
@zmtzawqlp I am facing the rollback issue. https://vimeo.com/345854436
Widget Tree for Demo page
NestedScrollView
SilverAppBar
Column
TabBar
TabView
Widget Tree for each TabView
ListView
HeaderContent
Card
Card
Card
Does i implement in a wrong way?
put this in nestedscrollview body.
please tell the problem, and provide demo
Previously, i use SliverPersistentHeader for Pinned header.
But, for your example, you don't use SliverPersistentHeader. So, how do you do that?