flutter_sticky_headers
flutter_sticky_headers copied to clipboard
[BUG] StickyHeader not working inside a CustomScrollView
I get the following error when trying to use a StickyHeader inside a CustomScrollView:
A RenderViewport expected a child of type RenderSliver but received a child of type RenderStickyHeader
It seems to be misleading that the top of the README for the package states:
You can place a StickyHeader or StickyHeaderBuilder inside any scrollable content, such as: ListView, GridView, CustomScrollView, SingleChildScrollView or similar.