TrackingScrollController constructor

TrackingScrollController({
  1. double initialScrollOffset = 0.0,
  2. bool keepScrollOffset = true,
  3. String? debugLabel,
  4. ScrollControllerCallback? onAttach,
  5. ScrollControllerCallback? onDetach,
})

Creates a scroll controller that continually updates its initialScrollOffset to match the last scroll notification it received.

Implementation

TrackingScrollController({
  super.initialScrollOffset,
  super.keepScrollOffset,
  super.debugLabel,
  super.onAttach,
  super.onDetach,
});