HeroControllerScope constructor Null safety
- {Key? key,
- required HeroController controller,
- required Widget child}
Creates a widget to host the input controller.
Implementation
const HeroControllerScope({
super.key,
required HeroController this.controller,
required super.child,
}) : assert(controller != null);