AnimateToPositionFunction mixin
Mixin to implementing the animateToPositionFunction
function
- Implemented types
Properties
- addState ← TKMControllerMixin
-
Attached the state to this controller
no getterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAttached → bool
-
Determine if the state with AnimationControllerMixin is attached to an instance
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
animateToPositionFunction(
double value, {Duration? duration, Curve curve = Curves.linear}) → void - Animates the widget position to the value. The value must between 0.0 and 1.0 (optional) duration specifies the time for the animation to complete (optional) curve specifies the easing behavior of the animation.
-
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