Animation class
The animation CSS property applies an animation between styles.
CSS animations make it possible to animate transitions from one CSS style configuration to another. Animations consist of two components: a style describing the CSS Animation and a set of StyleRule.keyframes that indicate the start and end states of the animation's style, as well as possible intermediate waypoints.
Read more: MDN Using CSS animations
Constructors
- Animation({required String name, required Duration duration, Curve? curve, Duration? delay, double? count, AnimationDirection? direction, AnimationFillMode? fillMode, AnimationPlayState? playState})
-
Creates an animation with the given name, duration, and optional properties.
constfactory
-
Animation.list(List<
Animation> animations) -
Combines multiple animations into a single property.
constfactory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited