UnmanagedRestorationScope constructor

const UnmanagedRestorationScope({
  1. Key? key,
  2. RestorationBucket? bucket,
  3. required Widget child,
})

Creates an UnmanagedRestorationScope.

When bucket is null state restoration is turned off for the child and its descendants.

Implementation

const UnmanagedRestorationScope({
  super.key,
  this.bucket,
  required super.child,
});