simple_animations library
Simple Animation Framework
Classes
- AnimationDeveloperTools
- Wrapper widget for displaying developer tooling that will assist your while creating custom animation.
-
CustomAnimation<
T> - Widget that creates a customized animation.
- 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.
-
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.
-
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.
-
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.
Enums
- 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)
- ParticleType
- The shape and rendering method used for drawing particles.
- PlasmaType
- Prop
- Enum for use as type of TimelineTween. It contains common used property names.
Mixins
-
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 on AnimationController
- Method extensions on AnimationController
Typedefs
-
AnimatedWidgetBuilder<
T> = Widget Function(BuildContext context, Widget? child, T value) - Builder function used by widgets to update your scene when animating.