restorationId property Null safety

String? restorationId
final

The restoration ID used by this widget to obtain a child bucket from the surrounding RestorationScope.

The child bucket obtained from the surrounding scope is made available to descendant widgets via RestorationScope.of.

If this is null, RestorationScope.of invoked by descendants will return null which effectively turns off state restoration for this subtree.

Implementation

final String? restorationId;