DefaultAnimationProperties enum
Enum for use as type of MultiTween. It contains common used property names. Example: (using supercharged)
final tween = MultiTween<DefaultAnimationProperties>()
..add(DefaultAnimationProperties.width, 0.0.tweenTo(100.0), 1.seconds)
..add(DefaultAnimationProperties.height, 0.0.tweenTo(200.0), 1.seconds);
Values
- width → const DefaultAnimationProperties
- height → const DefaultAnimationProperties
- offset → const DefaultAnimationProperties
- color → const DefaultAnimationProperties
- color1 → const DefaultAnimationProperties
- color2 → const DefaultAnimationProperties
- color3 → const DefaultAnimationProperties
- color4 → const DefaultAnimationProperties
- x → const DefaultAnimationProperties
- y → const DefaultAnimationProperties
- size → const DefaultAnimationProperties
- left → const DefaultAnimationProperties
- top → const DefaultAnimationProperties
- bottom → const DefaultAnimationProperties
- right → const DefaultAnimationProperties
- rotation → const DefaultAnimationProperties
- scale → const DefaultAnimationProperties
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
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<
DefaultAnimationProperties> - A constant List of the values in this enum, in order of their declaration.