Prop enum Null safety
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));
Constructors
- Prop()
-
const
Values
- width → const Prop
-
const Prop(0)
- height → const Prop
-
const Prop(1)
- offset → const Prop
-
const Prop(2)
- color → const Prop
-
const Prop(3)
- color1 → const Prop
-
const Prop(4)
- color2 → const Prop
-
const Prop(5)
- color3 → const Prop
-
const Prop(6)
- color4 → const Prop
-
const Prop(7)
- x → const Prop
-
const Prop(8)
- y → const Prop
-
const Prop(9)
- z → const Prop
-
const Prop(10)
- i → const Prop
-
const Prop(11)
- j → const Prop
-
const Prop(12)
- size → const Prop
-
const Prop(13)
- left → const Prop
-
const Prop(14)
- top → const Prop
-
const Prop(15)
- bottom → const Prop
-
const Prop(16)
- right → const Prop
-
const Prop(17)
- translate → const Prop
-
const Prop(18)
- translateX → const Prop
-
const Prop(19)
- translateY → const Prop
-
const Prop(20)
- rotate → const Prop
-
const Prop(21)
- rotateX → const Prop
-
const Prop(22)
- rotateY → const Prop
-
const Prop(23)
- rotateZ → const Prop
-
const Prop(24)
- scale → const Prop
-
const Prop(25)
- scaleX → const Prop
-
const Prop(26)
- scaleY → const Prop
-
const Prop(27)
- radius → const Prop
-
const Prop(28)
- opacity → const Prop
-
const Prop(29)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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<
Prop> -
A constant List of the values in this enum, in order of their declaration.
[width, height, offset, color, color1, color2, color3, color4, x, y, z, i, j, size, left, top, bottom, right, translate, translateX, translateY, rotate, rotateX, rotateY, rotateZ, scale, scaleX, scale…