AnimationInfo class
Container for the most primitive data necessary to drive our animation with functions to yield the next tier of calculated data for the animation.
Constructors
Properties
- direction → Direction
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- indexDelta → int
-
read-only
- newIndex → int
-
Index toward which the active indicator is heading.
final
- numSides → int
-
Number of sides for the active indicator - e.g., 6 is a hexagon.
final
- oldIndex → int
-
Index from which the active indicator is leaving.
final
- radiansPerSide → double
-
Percent of a full rotation an active indicator should see for each of its
sides.
read-only
- radiansToRotate → double
-
Total rotation required to reach the new index.
read-only
- radiansToRotateDelta → double
-
Total rotation required to reach the new index, minus what has already
been rotated. This number is fixed from the beginning of the transition
and does not update as the active indicator animates.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sidesPerListItem → double
-
The amount of sides on the active indicator that it should roll as it
traverses each list item. Calibrated to create a realistic rolling motion.
final
- startingRotation → double
-
The amount of rotation applied to the active indicator at the start of
this transition.
final
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