HeroContianerFlightShuttleBuilder typedef

HeroContianerFlightShuttleBuilder = Widget Function(BuildContext context, Animation<double> animation, Widget fromWidget, Widget toWidget)

Signature for a function that lets HeroContaineres self supply a Widget that is shown during the hero container's flight from one route to another instead of default.

Implementation

typedef HeroContianerFlightShuttleBuilder = Widget Function(
  BuildContext context,
  Animation<double> animation,
  Widget fromWidget,
  Widget toWidget,
);