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({
  double initialScrollOffset = 0.0,
  bool keepScrollOffset = true,
  String? debugLabel,
}) : super(
       initialScrollOffset: initialScrollOffset,
       keepScrollOffset: keepScrollOffset,
       debugLabel: debugLabel,
     );