INNER CODE UNIT · Dart
ObserverController
fluttercandies/flutter_scrollview_observer · lib/src/common/observer_controller.dart:20
class ObserverController {
ObserverController({this.controller});
/// Target scroll controller.
ScrollController? controller;
/// The map which stores the offset of child in the sliver
Map<BuildContext, Map<int, ObserveScrollChildModel>> indexOffsetMap = {};
/// Target sliver [BuildContext]
List<BuildContext> sliverContexts = [];
/// In the case where the observation is triggered during scrolling, the
/// minimum amount of time to wait for firing observe callback.
///
/// Defaults to Duration.zero.
Duration observeIntervalForScrolling = Duration.zero;