HeroControllerScopeModifier.none constructor

const HeroControllerScopeModifier.none({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
})

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

Implementation

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