RestorationScopeModifier constructor
const
RestorationScopeModifier({})
Creates a RestorationScope.
Providing null as the restorationId
turns off state restoration for
the child
and its descendants.
The child
must not be null.
Implementation
const RestorationScopeModifier({
super.key,
super.child,
super.modifierKey,
required this.restorationId,
});