mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 14:28:51 +00:00
update animations README (#130)
* update animations README * formatting * formatting * use bulleted list
This commit is contained in:
@@ -12,14 +12,32 @@ Sample apps that showcasing Flutter's animation features
|
|||||||
|
|
||||||
Building blocks and patterns
|
Building blocks and patterns
|
||||||
|
|
||||||
**AnimationControllerDemo** Demonstrates how to use an `AnimationController`.
|
1. **AnimatedContainerDemo** Demonstrates how to use `AnimatedContainer`
|
||||||
|
2. **PageRouteBuilderDemo** Demonstrates how to use `Tween` and `Animation` to
|
||||||
|
*build a custom page route transition.
|
||||||
|
3. **AnimationControllerDemo** Demonstrates how to use an `AnimationController`.
|
||||||
|
4. **TweenDemo** Demonstrates how to use a `Tween` with an
|
||||||
|
`AnimationController`.
|
||||||
|
5. **AnimatedBuilderDemo** Demonstrates how to use an `AnimatedBuilder` with an
|
||||||
|
`AnimationController`.
|
||||||
|
6. **CustomTweenDemo** Demonstrates how to extend `Tween`.
|
||||||
|
7. **TweenSequenceDemo** Demonstrates how to use `TweenSequence` to build a
|
||||||
|
button that changes between different colors.
|
||||||
|
|
||||||
### Misc
|
### Misc
|
||||||
|
|
||||||
Other uses-cases and examples
|
Other uses-cases and examples
|
||||||
|
|
||||||
**ExpandCardDemo** Demonstrates how to use `AnimatedCrossFade` to fade between
|
- **RepeatingAnimationDemo** Demonstrates how to repeat an animation.
|
||||||
|
- **ExpandCardDemo** Demonstrates how to use `AnimatedCrossFade` to fade between
|
||||||
two widgets and change the size.
|
two widgets and change the size.
|
||||||
|
- **CarouselDemo** Demonstrates how to use `PageView` with a custom animation.
|
||||||
|
- **FocusImageDemo** Demonstrates how to measure the size of a widget and expand
|
||||||
|
it using a `PageRouteBuilder`.
|
||||||
|
- **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.
|
||||||
|
|
||||||
## Other Resources
|
## Other Resources
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user