HeroMode constructor

const HeroMode({
  1. Key? key,
  2. required Widget child,
  3. bool enabled = true,
})

Creates a widget that enables or disables Heroes.

Implementation

const HeroMode({super.key, required this.child, this.enabled = true});