initialScrollOffset property

  1. @override
double initialScrollOffset
override

Returns the scroll offset of the mostRecentlyUpdatedPosition or, if that is null, the initial scroll offset provided to the constructor.

See also:

  • ScrollController.initialScrollOffset, which this overrides.

Implementation

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