DefaultAnimationProperties enum Null safety

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);
Inheritance

Constructors

DefaultAnimationProperties()
const

Values

width → const DefaultAnimationProperties
const DefaultAnimationProperties(0)
height → const DefaultAnimationProperties
const DefaultAnimationProperties(1)
offset → const DefaultAnimationProperties
const DefaultAnimationProperties(2)
color → const DefaultAnimationProperties
const DefaultAnimationProperties(3)
color1 → const DefaultAnimationProperties
const DefaultAnimationProperties(4)
color2 → const DefaultAnimationProperties
const DefaultAnimationProperties(5)
color3 → const DefaultAnimationProperties
const DefaultAnimationProperties(6)
color4 → const DefaultAnimationProperties
const DefaultAnimationProperties(7)
x → const DefaultAnimationProperties
const DefaultAnimationProperties(8)
y → const DefaultAnimationProperties
const DefaultAnimationProperties(9)
size → const DefaultAnimationProperties
const DefaultAnimationProperties(10)
left → const DefaultAnimationProperties
const DefaultAnimationProperties(11)
top → const DefaultAnimationProperties
const DefaultAnimationProperties(12)
bottom → const DefaultAnimationProperties
const DefaultAnimationProperties(13)
const DefaultAnimationProperties(14)
rotation → const DefaultAnimationProperties
const DefaultAnimationProperties(15)
scale → const DefaultAnimationProperties
const DefaultAnimationProperties(16)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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<DefaultAnimationProperties>
A constant List of the values in this enum, in order of their declaration.
[width, height, offset, color, color1, color2, color3, color4, x, y, size, left, top, bottom, right, rotation, scale]