CSSAnimationConfigElements class

CSS animation configuration for a List<Element>.

Inheritance

Constructors

CSSAnimationConfigElements(Iterable<Element> elements, Duration duration, {String timingFunction = 'ease', Map<String, String>? initialProperties, Iterable<String>? initialClasses, Iterable<String>? rollbackProperties, Map<String, String>? transitionProperties, Map<String, String>? preFinalProperties, Map<String, String>? finalProperties, Iterable<String>? finalClasses, Duration? finalizeInterval})

Properties

duration Duration
Time duration of the animation/transition of properties. Default: 1s.
final
elements List<Element>
no setter
finalClasses Set<String>
no setter
finalizeInterval Duration?
Time after CSS transition to set _finalProperties. Default: 100ms
final
finalProperties Map<String, String>
no setter
hashCode int
The hash code for this object.
no setterinherited
initialClasses Set<String>
no setter
initialProperties Map<String, String>
no setter
isNotValid bool
Returns false if this configuration is NOT valid;
no setterinherited
isValid bool
Returns true if this configuration is valid;
no setteroverride
preFinalProperties Map<String, String>
no setter
rollbackProperties Set<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timingFunction String
Type of speed curve function (linear, ease, ease-in, ease-out, ease-in-out, step-start, step-end). Default: ease.
final
transitionProperties Map<String, String>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play({Duration? initialDelay, AnimationCallback? callback}) Future<void>?
Plays CSS animation.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited