AnimationFillMode enum
The animation-fill-mode CSS property sets how a CSS animation applies styles to its target before and after its execution.
Read more: MDN animation-fill-mode
Values
- none → const AnimationFillMode
-
The animation will not apply any styles to the target when it's not executing. The element will instead be displayed using any other CSS rules applied to it. This is the default value.
const AnimationFillMode('none') - forwards → const AnimationFillMode
-
The target will retain the computed values set by the last keyframe encountered during execution.
const AnimationFillMode('forwards') - backwards → const AnimationFillMode
-
The animation will apply the values defined in the first relevant keyframe as soon as it is applied to the target, and retain this during the animation-delay period.
const AnimationFillMode('backwards') - both → const AnimationFillMode
-
The animation will follow the rules for both forwards and backwards, thus extending the animation properties in both directions.
const AnimationFillMode('both')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
final
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
Constants
-
values
→ const List<
AnimationFillMode> - A constant List of the values in this enum, in order of their declaration.