flutter_sticky_headers icon indicating copy to clipboard operation
flutter_sticky_headers copied to clipboard

[BUG] StickyHeader not working inside a CustomScrollView

Open Areopagitics opened this issue 2 years ago • 0 comments

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.

Areopagitics avatar Jul 24 '22 05:07 Areopagitics