App Development6
App Development6
Sameeha moogab
2024
Outline
• What is Animation
• Aspects of the animation
• Animation System
What is Animation
• Animation is a process of showing a series of
images / picture in a particular order within a specific
duration to give an illusion of movement.
Aspects of the animation
The most important aspects of the animation are as
follows:
• Animation have two distinct values: Start value and
End value. The animation starts from Start value and
goes through a series of intermediate values and
finally ends at End values. For example, to animate a
widget to fade away, the initial value will be the full
opacity and the final value will be the zero opacity.
Aspects of the animation
• The intermediate values may be linear or non-linear
(curve) in nature and it can be configured.
Understand that the animation works as it is
configured. Each configuration provides a different
feel to the animation. For example, fading a widget
will be linear in nature whereas bouncing of a ball
will be non-linear in nature.
Aspects of the animation
• The duration of the animation process affects the speed
(slowness or fastness) of the animation.
• The ability to control the animation process like starting the
animation, stopping the animation, repeating the animation
to set number of times, reversing the process of animation,
etc.
Animation System
• In Flutter, animation system does not do any real animation.
Instead, it provides only the values required at every frame to
render the images.
Animation
• Generates interpolated values between two numbers over a
certain duration. The most common Animation classes are:
Animation<double> - interpolate values between two
decimal number