Closed GerritBurgerDev closed 2 months ago
check the value of pinnedHeaderHeight.
Amazing what a stupid mistake to make. Thank you @zmtzawqlp.
Anyone following this, if you only want the AppBar to show and hide the rest do:
pinnedHeaderSliverHeightBuilder: () {
return kToolbarHeight; // where kToolbarHeight is a constant of 56 (change as needed)
},
Platforms
Android, iOS
Description
When creating the headerSliverBuilder I want to be able to scroll and minimise all
SliverToBoxAdapter
widgets. This works fine for anySliverToBoxAdapter
above theSliverAppBar
, however, any below it does not minimise.My code
Try do it
I know that the built in Flutter
NestedScrollView
does support this, however, it does not seem to work for this package. Am I missing something simple or is this a missing feature?Here is an example of it working with natice NestedScrollView:
https://github.com/fluttercandies/extended_nested_scroll_view/assets/30072137/d8a7e22d-408f-439f-a00a-c5757204221c
Here is an example of it not working:
https://github.com/fluttercandies/extended_nested_scroll_view/assets/30072137/d80422eb-21c3-4118-b457-d487c72b3067