Flutter Sticky Headers - Lets you place "sticky headers" into any scrollable content in your Flutter app. No special wrappers or magic required. Maintainer: @slightfoot
I am implementing a chat widget and using your library to separate messages by date, you can see the same behavior on Whatsapp and Telegram.
I am building several slivers that each contain messages on that date and a header which is basically a text showing the relevant date. I pass the slivers to a CustomScrollView with reverse property set to true.
Everything works fine except that the headers are pinned to the bottom of the screen (I need them to stick to the top).
How can I fix this? Any pointers would be appreciated.
Hi,
I am implementing a chat widget and using your library to separate messages by date, you can see the same behavior on Whatsapp and Telegram.
I am building several
slivers
that each contain messages on that date and a header which is basically a text showing the relevant date. I pass theslivers
to aCustomScrollView
withreverse
property set to true.Everything works fine except that the headers are pinned to the bottom of the screen (I need them to stick to the top). How can I fix this? Any pointers would be appreciated.