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.07k stars 130 forks source link

A ScrollPositionWithSingleContext was used after being disposed. #51

Closed topjx closed 2 years ago

topjx commented 3 years ago

The following assertion was thrown building RawGestureDetector-[LabeledGlobalKey#bc1b8](state: RawGestureDetectorState#1c9cc(gestures: [vertical drag], behavior: opaque)): A ScrollPositionWithSingleContext was used after being disposed.

Once you have called dispose() on a ScrollPositionWithSingleContext, it can no longer be used. The relevant error-causing widget was:

DeD1rk commented 3 years ago

Please provide additional context, such as a code sample (preferably something we can run), version info, and a more complete error (include for example the complete message and stack trace).

slightfoot commented 2 years ago

Closing as un-responsive.