TaleController class
Using TKMController
to create a custom Controller for the drawer
The controller use: Open, Close, Start and GetPosition mixin
from TKMController
https://github.com/TKMonkey/tools_tkmonkey_flutter
Constructors
Properties
- addState ← TKMControllerMixin
-
Attached the state to this controller
no getterinherited
- drawerPosition → double
-
no setter
- getPositionFunction → double
-
Gets the current animationController position.
Decimal between 0.0 and 1.0
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAnimationCompleted → bool
-
Returns whether or not the animation is 'completed'.
no setterinherited
- isAnimationDismissed → bool
-
Returns whether or not the animation is 'dismissed'.
no setterinherited
- isAttached → bool
-
Determine if the state with AnimationControllerMixin is attached to an instance
no setterinherited
- isDrawerClosed → bool
-
no setter
- isDrawerOpen → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void -
forwardFunction(
{double? from}) → void -
Start animation to forward
Forward is animationController.value == 0.0
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → void -
reverseFunction(
{double? from}) → void -
Start animation to reverse
Reversed is animationController.value == 1.0
inherited
-
runFunction(
) → void -
Run animation and decide if execute forward or reverse
inherited
-
start(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited