Sample apps that showcasing Flutter's animation features
- Demonstrate the building blocks for animations and how they work together
- Provide samples for common patterns and use-cases
Building blocks and patterns
- AnimatedContainerDemo Demonstrates how to use
- PageRouteBuilderDemo Demonstrates how to use
Animationto *build a custom page route transition.
- AnimationControllerDemo Demonstrates how to use an
- TweenDemo Demonstrates how to use a
- AnimatedBuilderDemo Demonstrates how to use an
- CustomTweenDemo Demonstrates how to extend
- TweenSequenceDemo Demonstrates how to use
TweenSequenceto build a button that changes between different colors.
Other uses-cases and examples
- RepeatingAnimationDemo Demonstrates how to repeat an animation.
- ExpandCardDemo Demonstrates how to use
AnimatedCrossFadeto fade between two widgets and change the size.
- CarouselDemo Demonstrates how to use
PageViewwith a custom animation.
- FocusImageDemo Demonstrates how to measure the size of a widget and expand
it using a
- PhysicsCardDragDemo Demonstrates how to run an AnimationController with a spring simulation.
- CardSwipeDemo A swipeable card that demonstrates how to use gesture detection to drive an animation.