HeroModeModifier constructor

const HeroModeModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. bool enabled = true,
})

Creates a widget that enables or disables Heroes.

The child and enabled arguments must not be null.

Implementation

const HeroModeModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.enabled = true,
});