restorationId property Null safety

String? restorationId
final

Restoration ID to save and restore the scroll offset of the scrollable.

If a restoration id is provided, the scrollable will persist its current scroll offset and restore it during state restoration.

The scroll offset is persisted in a RestorationBucket claimed from the surrounding RestorationScope using the provided restoration ID.

See also:

Implementation

final String? restorationId;