initialScrollOffset property

  1. @override
double get initialScrollOffset
override

The initial value to use for offset.

New ScrollPosition objects that are created and attached to this controller will have their offset initialized to this value if keepScrollOffset is false or a scroll offset hasn't been saved yet.

Defaults to 0.0.

Implementation

@override
double get initialScrollOffset => _initialScrollOffset ?? super.initialScrollOffset;