UnmanagedRestorationScope constructor Null safety
- {Key? key,
- RestorationBucket? bucket,
- required Widget child}
Creates an UnmanagedRestorationScope.
When bucket is null state restoration is turned off for the child and its descendants.
The child must not be null.
Implementation
const UnmanagedRestorationScope({
super.key,
this.bucket,
required super.child,
}) : assert(child != null);