HeroHereFlightAnimationControllerFactory typedef

HeroHereFlightAnimationControllerFactory = AnimationController Function(TickerProvider tickerProvider, Duration duration)

Makes the controller that drives a flight, from the flight's duration.

Implementation

typedef HeroHereFlightAnimationControllerFactory = AnimationController Function(
  TickerProvider tickerProvider,
  Duration duration,
);