AnimationUpdate class

Container for the state of a RollingNavBar's animation, useful for syncing visual effects elsewhere in your app with nav bar animation progress.

Constructors

AnimationUpdate({@required double animationValue, @required Color color, @required Direction direction, @required double percentAnimated, @required double rotation})

Properties

animationValue double
The relative value of the animation, taking into account the selected curve.
final
color Color
The current color of the active indicator as it is (optionally) linearly interpolated.
final
direction Direction
Whether the user has selected a tab before or after the previous tab.
final
hashCode int
The hash code for this object.
read-onlyinherited
percentAnimated double
The absolute value or progress of the animation, without taking into account the selected curve.
final
rotation double
The current rotation of the active indicator, in radians.
final
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