IndexedScrollController constructor

IndexedScrollController({
  1. int initialIndex = 0,
  2. double initialScrollOffset = 0.0,
  3. bool keepScrollOffset = true,
  4. String? debugLabel,
})

Implementation

IndexedScrollController({
  this.initialIndex = 0,
  double initialScrollOffset = 0.0,
  bool keepScrollOffset = true,
  String? debugLabel,
})  : _originIndex = initialIndex,
      super(
        initialScrollOffset: initialScrollOffset,
        keepScrollOffset: keepScrollOffset,
        debugLabel: debugLabel,
      );