fluttercommunity / flutter_sticky_headers

Flutter Sticky Headers - Lets you place "sticky headers" into any scrollable content in your Flutter app. No special wrappers or magic required. Maintainer: @slightfoot
https://pub.dev/packages/sticky_headers
MIT License
1.07k stars 130 forks source link

Scrolling under SliverAppBar with NestedScrollView #34

Open ryanhossain9797 opened 4 years ago

ryanhossain9797 commented 4 years ago

I basically took the example from the NestedScrollView description Here and made minimal modifications (replaced fixed extent sliver list with a normal sliver list) and added in the sticky header builder widget.

The headers seem to scroll under the SliverAppBar.

Can this be fixed? Any workarounds? I know putting the AppBar in a SliverSafeArea can fix it but it makes the animations janky.

ezgif com-video-to-gif

danallen88 commented 2 years ago

Almost 2 years later and I can confirm we have this same issue - is this project abandoned?

adimshev commented 2 years ago

+1

marinat commented 2 years ago

Hi all! Please try this https://github.com/flutter/flutter/issues/91972, that workaround perfectly work for flutter_sticky_header lib: https://github.com/letsar/flutter_sticky_header/issues/71