TrackingScrollController constructor Null safety

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

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,
});