This PR fixes #48 and #70 by adding a callback to be called when a sticky header is pinned or unpinned, etc. It also works with reversed scrollable widgets.
Added SliverStickyHeaderActivity class that represents an event such as "onPinned"
Added the event dispatching logic to RenderSliverStickyHeader
Added callback parameters to the constructors of SliverStickyHeader
This PR fixes #48 and #70 by adding a callback to be called when a sticky header is pinned or unpinned, etc. It also works with reversed scrollable widgets.
SliverStickyHeaderActivity
class that represents an event such as "onPinned"RenderSliverStickyHeader
SliverStickyHeader
example/lib/main.dart
I hope you find it useful 😀