widgets/hero_container library
Classes
- HeroContainer
- A widget that provides smooth animated transitions between a closed and opened state using widget snapshots.
Typedefs
- HeroContainerBuilder = Widget Function(BuildContext context, VoidCallback action)
- Signature for a function that builds the content widget for a HeroContainer with an action callback.
-
HeroContianerClosedCallback<
S> = void Function(S data) - Signature for the callback function which is called when the HeroContainer is closed.
-
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.