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