initialScrollOffset property Null safety

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:

Implementation

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