keepScrollOffset property

bool keepScrollOffset
final

Save the current scroll offset with PageStorage and restore it if this scroll position's scrollable is recreated.

See also:

Implementation

// TODO(goderbauer): Deprecate this when state restoration supports all features of PageStorage.
final bool keepScrollOffset;