flutter_hero_container library
Classes
- HeroContainer
- A widget that provides smooth animated transitions between a closed and opened state using widget snapshots.
- HeroContainerController
- Controller that manages the snapshot-based transition animation for HeroContainer widget.
- HeroContainerFragment
- A captured snapshot of a widget containing its image, size, and position.
- HeroContainerOverlay
- Utility class for launching hero container transitions.
-
HeroContainerRoute<
T> - A custom modal route that handles the hero container transition animation.
Enums
- HeroContainerStatus
- Status of a HeroContainer transition.
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.