shiang / flutter-animecat

This app is created with Flutter with StatefulWidget and Animation library classes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Cat Animation with Flutter

A simple animation with tap gesture created with Flutter.

Getting Started

For help getting started with Flutter, view our online documentation.

About the app

  • This app is created with Flutter with StatefulWidget and Animation library classes

This app covers the following concepts from flutter:

  • Intro to the Animation, AnimationController, and Tween classes
  • Animation Class: To record the current value of the property being animated. Also records the status of the animation (running or stopped ..etc)
  • AnimationController Class: Control the animation status (forward, completed, reverse...etc)
  • Tween Class: describe the range that the value being animated spans
  • Intro to AnimatedBuilder: Takes an animation and a builder function. Everytime the animation value changes, builder reruns
  • Intro to the StatefulWidget lifecycle method initState
  • Intro to the TickerProviderStateMixin for a StatefulWidget to properly start animation
  • Intro to the GestureDetector and Stack Widget
  • Intro to the StatusListener on Animation class to change the animation status based on the events received

About

This app is created with Flutter with StatefulWidget and Animation library classes


Languages

Language:Dart 84.0%Language:Objective-C 10.8%Language:Java 5.2%