HeroMode constructor Null safety
Creates a widget that enables or disables Heroes.
Implementation
const HeroMode({
super.key,
required this.child,
this.enabled = true,
}) : assert(child != null),
assert(enabled != null);
Creates a widget that enables or disables Heroes.
const HeroMode({
super.key,
required this.child,
this.enabled = true,
}) : assert(child != null),
assert(enabled != null);