SyncScrollController constructor

SyncScrollController({
  1. double initialScrollOffset = 0.0,
  2. bool keepScrollOffset = true,
  3. String? debugLabel,
  4. SyncControllerMixin? parent,
})

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

Implementation

SyncScrollController({
  double initialScrollOffset = 0.0,
  bool keepScrollOffset = true,
  String? debugLabel,
  this.parent,
}) : super(
        initialScrollOffset: initialScrollOffset,
        keepScrollOffset: keepScrollOffset,
        debugLabel: debugLabel,
      );