INNER CODE UNIT · Dart
ObserverScrollNotification
fluttercandies/flutter_scrollview_observer · lib/src/notification.dart:53
class ObserverScrollNotification extends Notification {
@override
void dispatch(BuildContext? target) {
bool isMounted = target?.mounted ?? false;
if (!isMounted) {
return;
}
super.dispatch(target);
}
}
/// A notification that a scrolling task has started due to calling the jumpTo
/// or animateTo method of [ObserverController].
class ObserverScrollStartNotification extends ObserverScrollNotification {}
/// A notification that a scrolling task has interrupted due to calling the
/// jumpTo or animateTo method of [ObserverController].
class ObserverScrollInterruptionNotification