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