AnimationExtensions extension
Extensions for Animation operations and utilities.
Properties
- clampedValue → double
-
Available on Animation<
Returns the animation value clamped between 0.0 and 1.0.double> , provided by the AnimationExtensions extensionno setter - isAnimating → bool
-
Available on Animation<
Returnsdouble> , provided by the AnimationExtensions extensiontrueif the animation is currently animating.no setter - isCompleted → bool
-
Available on Animation<
Returnsdouble> , provided by the AnimationExtensions extensiontrueif the animation is completed.no setter - isDismissed → bool
-
Available on Animation<
Returnsdouble> , provided by the AnimationExtensions extensiontrueif the animation is dismissed.no setter - isForward → bool
-
Available on Animation<
Returnsdouble> , provided by the AnimationExtensions extensiontrueif the animation is forward.no setter - isNotAnimating → bool
-
Available on Animation<
Returnsdouble> , provided by the AnimationExtensions extensiontrueif the animation is not animating (completed or dismissed).no setter - isReverse → bool
-
Available on Animation<
Returnsdouble> , provided by the AnimationExtensions extensiontrueif the animation is reverse.no setter - percentage → double
-
Available on Animation<
Returns the animation value as a percentage (0-100).double> , provided by the AnimationExtensions extensionno setter - percentageInt → int
-
Available on Animation<
Returns the animation value as an integer (0-100).double> , provided by the AnimationExtensions extensionno setter - reversedValue → double
-
Available on Animation<
Returns the reversed animation value (1.0 - value).double> , provided by the AnimationExtensions extensionno setter
Methods
-
isAbove(
double threshold) → bool -
Available on Animation<
Returns true if the animation value is greater than the threshold.double> , provided by the AnimationExtensions extension -
isBelow(
double threshold) → bool -
Available on Animation<
Returns true if the animation value is less than the threshold.double> , provided by the AnimationExtensions extension -
isBetween(
double min, double max) → bool -
Available on Animation<
Returns true if the animation value is between min and max.double> , provided by the AnimationExtensions extension -
mapValue(
double min, double max) → double -
Available on Animation<
Returns the animation value mapped to a range.double> , provided by the AnimationExtensions extension -
mirror(
) → Animation< double> -
Available on Animation<
Creates a new animation that mirrors this animation.double> , provided by the AnimationExtensions extension -
withCurve(
Curve curve) → double -
Available on Animation<
Returns the animation value with an easing curve applied.double> , provided by the AnimationExtensions extension