MontageController class

Inheritance

Constructors

MontageController({required TickerProvider vsync, MontageAnimation? initialAnimation})

Properties

animation MontageAnimation
no getter
animationBehavior AnimationBehavior
The behavior of the controller when AccessibilityFeatures.disableAnimations is true.
finalinherited
current ValueListenable<MontageAnimation?>
Gets the current animation.
no setter
debugLabel String?
A label that is used in the toString output. Intended to aid with identifying animation controller instances in debug output.
finalinherited
duration Duration?
The length of time this animation should last.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isAnimating bool
Whether this animation is currently animating in either the forward or reverse direction.
no setterinherited
isCompleted bool
Whether this animation is stopped at the end.
no setterinherited
isDismissed bool
Whether this animation is stopped at the beginning.
no setterinherited
lastElapsedDuration Duration?
The amount of time that has passed between the time the animation started and the most recent tick of the animation.
no setterinherited
lowerBound double
The value at which this animation is deemed to be dismissed.
finalinherited
reverseDuration Duration?
The length of time this animation should last when going in reverse.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status AnimationStatus
The current status of this animation.
no setterinherited
upperBound double
The value at which this animation is deemed to be completed.
finalinherited
value double
The current value of the animation.
getter/setter pairinherited-setteroverride-getter
velocity double
The rate of change of value per second.
no setterinherited
view Animation<double>
Returns an Animation<double> for this animation controller, so that a pointer to this object can be passed around without allowing users of that pointer to mutate the AnimationController state.
no setterinherited

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 target.
inherited
animateTo(double target, {Duration? duration, Curve curve = Curves.linear}) TickerFuture
Drives the animation from its current value to target.
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
dispose() → void
Release the resources used by this object. The object is no longer usable after this method is called.
override
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
play(List<MontageAnimation> animations, {bool isReversed = false}) Future<void>
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}) 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
stop({bool canceled = true}) → void
Stops running this animation.
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

Operators

operator ==(Object other) bool
The equality operator.
inherited