TKMControllerMixin mixin
Mixin to connect the State
in the StatefulWidget
with a TKMController
With this Mixin the StatefulWidget
have some implements methods
the TKMController child could access these methods to handle the animation behavior
ForwardState
is when animationController.value == 0.0
ReverseState
is when animationController.value == 1.0
Properties
- animationController ↔ AnimationController
-
getter/setter pair
- getPosition → double
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAnimating → bool
-
no setter
- isAnimationCompleted → bool
-
no setter
- isAnimationDismissed → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setPosition ← double
-
no getter
Methods
-
animateToPosition(
double value, {Duration? duration, Curve curve = Curves.linear}) → void -
forward(
{double? from}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reverse(
{double? from}) → void -
run(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited