Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.76 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.76 KB

flutter_animation_motion

Companion app for my "Animation and motion in Flutter" presentation, showcasing examples of simple and yet beautiful animations.

Included examples from the presentation

  • Implicit animations
  • Animations that trigger rebuild of the widget tree using setState, AnimatedWidget and AnimatedBuilder
  • Animations using different Curves
  • Displaying controller's animated value
  • Tweening from one color to another using ColorTween
  • Animating Container's properties using AnimatedContainer
  • Animating the position of a widget using AnimatedPositioned
  • Animating an Icon using AnimatedIcon
  • Animating a gradient background using DecoratedBoxTransition
  • Animating a widget's scale using ScaleTransition
  • Animating changes in TextStyle using AnimatedDefaultTextStyle
  • Shared element transition using Hero widget
  • Change perspective of a widget
  • Animated rotation of a widget using AnimatedBuilder
  • Animating the opacity of a widget using AnimatedWidget
  • Change of Widget's perspective with gestures using GestureDetector and Transform widgets

Additional examples

  • Demonstration of custom explicit animations (change of decoration, opacity, width, height)
  • Staggered animation using a single AnimationController and multiple Interval curves with different Tweens
  • Utilizing a custom AnimationStatus listener
  • Animating list item creation
  • Animating list items on demand, utilizing Matrix transformations

Easter egg

Long press anywhere in the app and swipe around.

Demo

Presentation

Click here.