HorizontalInteractAnimationController class
- Inheritance
-
- Implemented types
-
Methods
-
addListener(VoidCallback listener)
→ void
-
Calls the listener every time the value of the animation changes.
inherited
-
addStatusListener(AnimationStatusListener listener)
→ void
-
Calls listener every time the status of the animation changes.
inherited
-
animateBack(double target, {Duration? duration, Curve curve = Curves.linear})
→ TickerFuture
-
Drives the animation from its current value to the given target, "backward".
inherited
-
animateTo(double target, {Duration? duration, Curve curve = Curves.linear})
→ TickerFuture
-
Drives the animation from its current value to the given target, "forward".
inherited
-
animateWith(Simulation simulation)
→ TickerFuture
-
Drives the animation according to the given simulation.
inherited
-
clearListeners()
→ void
-
Removes all listeners added with addListener.
inherited
-
clearStatusListeners()
→ void
-
Removes all listeners added with addStatusListener.
inherited
-
didRegisterListener()
→ void
-
This implementation ignores listener registrations.
inherited
-
didUnregisterListener()
→ void
-
This implementation ignores listener registrations.
inherited
-
dismiss()
→ Future<void>
-
Animate to dismiss the notification.
override
-
dispose()
→ void
-
Release the resources used by this object. The object is no longer usable
after this method is called.
inherited
-
drive<U>(Animatable<U> child)
→ Animation<U>
-
Chains a Tween (or CurveTween) to this Animation.
inherited
-
fling({double velocity = 1.0, SpringDescription? springDescription, AnimationBehavior? animationBehavior})
→ TickerFuture
-
Drives the animation with a spring (within lowerBound and upperBound)
and initial velocity.
inherited
-
forward({double? from})
→ TickerFuture
-
Starts running this animation forwards (towards the end).
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
Calls all the listeners.
inherited
-
notifyStatusListeners(AnimationStatus status)
→ void
-
Calls all the status listeners.
inherited
-
removeListener(VoidCallback listener)
→ void
-
Stop calling the listener every time the value of the animation changes.
inherited
-
removeStatusListener(AnimationStatusListener listener)
→ void
-
Stops calling the listener every time the status of the animation changes.
inherited
-
repeat({double? min, double? max, bool reverse = false, Duration? period, int? count})
→ TickerFuture
-
Starts running this animation in the forward direction, and
restarts the animation when it completes.
inherited
-
reset()
→ void
-
Sets the controller's value to lowerBound, stopping the animation (if
in progress), and resetting to its beginning point, or dismissed state.
inherited
-
resync(TickerProvider vsync)
→ void
-
Recreates the Ticker with the new TickerProvider.
inherited
-
reverse({double? from})
→ TickerFuture
-
Starts running this animation in reverse (towards the beginning).
inherited
-
stay()
→ Future<void>
-
Animate to make the notification stay in screen.
override
-
stop({bool canceled = true})
→ void
-
Stops running this animation.
inherited
-
toggle({double? from})
→ TickerFuture
-
Toggles the direction of this animation, based on whether it isForwardOrCompleted.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
toStringDetails()
→ String
-
Provides a string describing the status of this object, but not including
information about the object itself.
inherited