simple_animations library

Simple Animation Framework

Classes

AnimationControllerX
An powerful implementation of Flutter's AnimationController that will work with an AnimationTask queue to execute complex custom animations easily. [...]
AnimationDeveloperTools
Wrapper widget for displaying developer tooling that will assist your while creating custom animation. [...]
AnimationProgress
Utility class to compute an animation progress between two points in time. [...]
AnimationTask
Abstract class that represents a single animation task that can be processed inside an AnimationControllerX.
ConditionalTask
Animation task that keeps emitting the current value of animation until a certain condition occurs (when predicate return true).
ControlledAnimation<T>
Widget to create custom, managed, tween-based animations in a very simple way. [...]
CustomAnimation<T>
Widget that creates a customized animation. [...]
FromToTask
Performs an animation from from to to in duration time. If the from is not set the animation will start from the current position. [...]
LegacyInternalPlasmaCompute
Class that computes position of the particles based on canvasSize, circleSize, offset and value.
LiBubblesPlasmaCompute
LiCirclePlasmaCompute
LiInfinityPlasmaCompute
LiPlasmaCompute
LiPlasmaComputeFactory
LoopAnimation<T>
Widget that creates and plays an animation endlessly from the start to the end. [...]
LoopTask
Performs a repeating animation from from to to within a specified duration. [...]
MirrorAnimation<T>
Widget that creates and plays an animation endlessly from the start to the end, then reverse to the start, then again to the end and so on. [...]
MultiTrackTween
Animatable that tweens multiple parallel properties (called Tracks). [...]
MultiTween<P>
Animatable that animates multiple properties at once. It can also chain multiples Tweens for a property. [...]
MultiTweenValues<P>
Represents the result of a MultiTween processed by an animation. [...]
Plasma
Plasma creates an animation with moving particles that generates a smooth liquid effect. It can be configured in many styles. [...]
PlasmaRenderer
Plasma creates an animation with moving particles that generates a smooth liquid effect. It can be configured in many styles. [...]
PlayAnimation<T>
Widget that creates and plays an animation until the end. [...]
Rendering
Widget to easily create a continuous animation. [...]
SetValueTask
An animation task that sets the current animation position to a specified value. It completes right after that.
SleepTask
Animation task that sleep for a specified duration. After that is completes.
TimelineScene<T>
Representing a time span of a TimelineTween. This class shouldn't be instanced by hand. It should be creating via TimelineTween.addScene or TimelineScene.addSubsequentScene methods.
TimelineTween<T>
Animatable that handles complex animations which handles multiple properties or scenes. [...]
TimelineValue<T>
A snapshot of properties that were animated by a TimelineTween. This class can obtained by using TimelineTween.transform.
Track<T>
Single property to tween. Used by MultiTrackTween.

Mixins

AnimationControllerMixin<T extends StatefulWidget>
Adds an AnimationControllerX to your widget state. [...]
AnimationMixin<T extends StatefulWidget>
Extends your state class with the ability to manage an arbitrary number of AnimationController instances. It takes care of initialization and disposing of these instances. [...]

Extensions

AnimationControllerExtension
Method extensions on AnimationController

Enums

AnimationControllerXStatus
Type of status event of AnimationControllerX.
AnimationDeveloperToolsPosition
Possible values for the position of the AnimationDeveloperTools.
CustomAnimationControl
Set of instruction you can pass into a CustomAnimation.control.
DefaultAnimationProperties
Enum for use as type of MultiTween. It contains common used property names. Example: (using supercharged) [...]
PlasmaType
Playback
Playback tell the controller of the animation what to do.
Prop
Enum for use as type of TimelineTween. It contains common used property names. [...]

Typedefs

AnimatedWidgetBuilder<T> = Widget Function(BuildContext context, Widget child, T value)
Builder function used by widgets to update your scene when animating. [...]
AnimationTaskCallback = dynamic Function()
@Deprecated('See migration guide: https://pub.dev/packages/sa_v1_migration')
StatusChangeCallback = void Function(AnimationControllerXStatus status, AnimationTask task)