keepScrollOffset property
final
Save the current scroll offset with PageStorage and restore it if this scroll position's scrollable is recreated.
See also:
- ScrollController.keepScrollOffset and PageController.keepPage, which create scroll positions and initialize this property.
Implementation
// TODO(goderbauer): Deprecate this when state restoration supports all features of PageStorage.
final bool keepScrollOffset;