Prop enum
Enum for use as type of TimelineTween. It contains common used property names.
Example: (using supercharged)
final tween = TimelineTween<Prop>()
..addScene(begin: 0.milliseconds, duration: 500.milliseconds)
.animate(Prop.width, tween: 0.0.tweenTo(400.0))
.animate(Prop.height, tween: 500.0.tweenTo(200.0));
Values
- width → const Prop
- height → const Prop
- offset → const Prop
- color → const Prop
- color1 → const Prop
- color2 → const Prop
- color3 → const Prop
- color4 → const Prop
- x → const Prop
- y → const Prop
- z → const Prop
- i → const Prop
- j → const Prop
- size → const Prop
- left → const Prop
- top → const Prop
- bottom → const Prop
- right → const Prop
- translate → const Prop
- translateX → const Prop
- translateY → const Prop
- rotate → const Prop
- rotateX → const Prop
- rotateY → const Prop
- rotateZ → const Prop
- scale → const Prop
- scaleX → const Prop
- scaleY → const Prop
- radius → const Prop
- opacity → const Prop
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