HeroControllerScope.none constructor Null safety

const HeroControllerScope.none(
  1. {Key? key,
  2. required Widget child}
)

Creates a widget to prevent the subtree from receiving the hero controller above.

Implementation

const HeroControllerScope.none({
  super.key,
  required super.child,
}) : controller = null;