Pre-built Material motion transitions for Flutter apps
open sourceBSD-3-Clausefree
animations is the Flutter team's package of ready-made transitions from Google's Material motion system: container transform (a card or list item that grows into a details page), shared axis (moving along the x, y or z axis between related screens), fade through (switching between unrelated screens, such as bottom navigation tabs) and fade (dialogs, menus and snackbars appearing). You drop them in as widgets and route transitions and fill them with your own content. It's part of the flutter/packages repository and published on pub.dev by flutter.dev; version 3.0.0 needs Flutter 3.44 or later.
Problems it solves
- animate a card expanding into a details page in my Flutter app
- smooth transitions between screens in a Flutter app without writing custom animation code
- make my bottom navigation tabs fade between pages instead of snapping
- follow Material Design's motion guidelines for page transitions in Flutter
- show a stepper or onboarding flow sliding along an axis between steps
Features
- Container transform transition between a container and a details page
- Shared axis transitions along the x, y or z axis
- Fade through transition between unrelated screens
- Fade transition for dialogs, menus and snackbars
- Android, iOS, Linux, macOS, web and Windows
Alternatives
The same job
These do what animations does.
- Rive Interactive graphics and animation engine with an editor, CLI and open source runtimes
- Simple Animations Create custom Flutter animations quickly, even in stateless widgets
- animate_do Animate.css-style widget animations for Flutter, with no external dependencies.
- page_transition Ready-made page transitions for Flutter navigation
