RotationEffect class
Rotation effect
Constructors
- RotationEffect({double rotations = 2 * pi, RotationDirection direction = RotationDirection.clockwise, double startAt = 0.0, double endAt = 1.0})
-
const
Properties
- direction → RotationDirection
-
Rotation direction
final
- endAt → double
-
Rotation end timing (0.0-1.0)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotations → double
-
Rotation amount (radians)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startAt → double
-
Rotation start timing (0.0-1.0)
final
Methods
-
calculateRotation(
double progress) → double - Calculate rotation amount based on progress
-
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