heroine library

An evolution on Heroes in Flutter, supporting Spring-based animations as well as cleaner route transitions.

Classes

ChainedShuttleBuilder
A shuttle builder that combines multiple HeroineShuttleBuilders into a single chain.
DragDismissable
Allows a Heroine (or any other widget for that matter) to be dragged to dismiss it.
FadeShuttleBuilder
A shuttle builder that fades the heroes between each other smoothly.
FadeThroughShuttleBuilder
A shuttle builder that fades through a given color.
FlipShuttleBuilder
A shuttle builder that flips the hero widget horizontally or vertically.
Heroine
An equivalent of Hero that is animated across routes using spring simulations.
HeroineController
The controller for Heroine transitions.
HeroinePageRoute<T>
A PageRoute that supports keeping track of a Heroine dismiss gesture.
HeroineShuttleBuilder
A convenience class that can be extended to create your own shuttle builders more easily.
Motion
A motion pattern such as spring physics or duration-based curves.
ReactToHeroineDismiss
A widget that can be used to react to a HeroinePageRoute dismiss gesture.
SingleShuttleBuilder
A shuttle builder that shows either only the from hero or the to hero.
Spring
A persistent spring animation that is based on response and damping fraction.

Mixins

HeroinePageRouteMixin<T>
A mixin that can turn any PageRoute into a HeroinePageRoute.

Extensions

Chain on HeroineShuttleBuilder
Provides the chain extension method for easy chaining of HeroineShuttleBuilders.