AnimatedFabController class
A controller of AnimatedFab and ScrollAnimatedFab, which is used to show and hide fab with animation.
Constructors
- AnimatedFabController()
- Constructs a default AnimatedFabController with no animation controller attached.
Properties
- animController → AnimationController
-
Returns the inner animation controller.
no setter
- hasClient → bool
-
Returns true if there is an AnimationController attached to the controller.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAnimating → bool
-
Returns true if the fab is animating.
no setter
- isHided → bool
-
Returns true if the fab has already hided.
no setter
- isShown → bool
-
Returns true if the fab has already shown.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AnimationStatus
-
Returns the status of attached animation.
no setter
Methods
-
attachAnim(
AnimationController a) → void - Registers the given AnimationController to this controller. Note that this will detaches the attached AnimationController first.
-
detachAnim(
) → void - Unregisters the given AnimationController from this controller.
-
dispose(
) → void -
hide(
) → void - Hides the fab with animation manually. If fab is hiding or has already hided, this action will be ignored.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → void - Shows the fab with animation manually. If fab is showing or has already shown, this action will be ignored.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited