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.1k stars 129 forks source link

How to update the state once the header sticks to the top? #74

Open dipanshparmar opened 1 year ago

dipanshparmar commented 1 year ago

I want to update the state when the Sticky Headers stick to the top. I tried doing it in the callback but got an error. What is the correct way to achieve this?