UnmanagedRestorationScopeModifier constructor

const UnmanagedRestorationScopeModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. RestorationBucket? bucket,
})

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 UnmanagedRestorationScopeModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.bucket,
});