hero_here
library
Enums
HeroHereFlightRedirect
What a flight does when the hero it flies to changes while it flies, such
as when the switcher's child changes again mid-flight.
Typedefs
AnimationControllerFactory
= HeroHereFlightAnimationControllerFactory
AnimationFactory <T >
= Animation <T > Function(AnimationController controller )
HeroHereFlightAnimationControllerFactory
= AnimationController Function(TickerProvider tickerProvider , Duration duration )
Makes the controller that drives a flight, from the flight's duration.
HeroHereFlightAnimationFactory
= Animation <double > Function(AnimationController controller )
Makes the animation a flight runs on from its controller, such as a
CurvedAnimation .
HeroHereFlightAnimationStarter
= TickerFuture Function(AnimationController controller , {double ? from })
Starts a flight's controller forward or in reverse, from a value if
given, and returns its ticker's future.
HeroHereFlightRectTweenFactory
= RectTween Function(Rect ? begin , Rect ? end )
Makes the tween of the rect a flight's shuttle takes, from where its leg
begins to where the hero it lands on is, its end. Once the flight
turns around, the rest of it takes a tween between where it turned and
where the hero it heads for is, backward if it heads back. It's called on
every frame of the flight with where that hero is on that frame, so the
shuttle follows the hero when it moves.
HeroHereFlightShuttleBuilder
= Widget Function(BuildContext flightContext , Animation <double > animation , HeroHere fromHero , HeroHere toHero )
HeroHereSwitcherLayoutBuilder
= Widget Function(Widget child , Widget sky )
Lays out a HeroHereSwitcher 's child and its sky, the layer its
flights fly in. See HeroHereSwitcher.layoutBuilder .
RectTweenFactory
= HeroHereFlightRectTweenFactory
StartAnimationCaller
= HeroHereFlightAnimationStarter