VxAnimator<T> class

Available Extensions

Constructors

VxAnimator({required Widget builder(BuildContext context, AnimatorState<T> animatorState, Widget? child), AnimatorKey<T>? animatorKey, Widget? child, Key? key, Tween<T>? tween, Map<String, Tween>? tweenMap, int? cycles, int? repeats, bool? resetAnimationOnRebuild = false, bool? triggerOnInit, dynamic customListener(AnimatorState<T>)?, dynamic endAnimationListener(AnimatorState<T>)?, dynamic statusListener(AnimationStatus, AnimatorState<T>)?, dynamic tickerMixin, Curve? curve, Duration? duration})

Properties

animatorKey AnimatorKey<T>?
The name of your Animator widget. Many widgets can have the same name.
final
bounceIn VxAnimator
no setterinherited
bounceInOut VxAnimator
no setterinherited
bounceOut VxAnimator
no setterinherited
builder Widget Function(BuildContext context, AnimatorState<T> animatorState, Widget? child)
The build strategy currently used for one Tween. Animator widget rebuilds itself every time the animation changes value.
final
child Widget?
Widget that you do not want to animate. It is the static part of the animated Widget.
final
curve Curve?
An easing curve, i.e. a mapping of the unit interval to the unit interval.
final
customListener → (dynamic Function(AnimatorState<T>)?)
Function to be called every time the animation value changes.
final
cycles int?
The number of forward and backward periods the animation performs before stopping
final
decelerate VxAnimator
no setterinherited
duration Duration?
A span of time, such as 27 days, 4 hours, 12 minutes, and 3 seconds
final
ease VxAnimator
no setterinherited
easeIn VxAnimator
no setterinherited
easeInBack VxAnimator
no setterinherited
easeInCirc VxAnimator
no setterinherited
easeInCubic VxAnimator
no setterinherited
easeInExpo VxAnimator
no setterinherited
easeInOut VxAnimator
no setterinherited
easeInOutBack VxAnimator
no setterinherited
easeInOutCirc VxAnimator
no setterinherited
easeInOutCubic VxAnimator
no setterinherited
easeInOutExpo VxAnimator
no setterinherited
easeInOutQuad VxAnimator
no setterinherited
easeInOutQuart VxAnimator
no setterinherited
easeInOutQuint VxAnimator
no setterinherited
easeInOutSine VxAnimator
no setterinherited
easeInQuad VxAnimator
no setterinherited
easeInQuart VxAnimator
no setterinherited
easeInQuint VxAnimator
no setterinherited
easeInSine VxAnimator
no setterinherited
easeInToLinear VxAnimator
no setterinherited
easeOut VxAnimator
no setterinherited
easeOutBack VxAnimator
no setterinherited
easeOutCirc VxAnimator
no setterinherited
easeOutCubic VxAnimator
no setterinherited
easeOutExpo VxAnimator
no setterinherited
easeOutQuad VxAnimator
no setterinherited
easeOutQuart VxAnimator
no setterinherited
easeOutQuint VxAnimator
no setterinherited
easeOutSine VxAnimator
no setterinherited
elasticIn VxAnimator
no setterinherited
elasticInOut VxAnimator
no setterinherited
elasticOut VxAnimator
no setterinherited
endAnimationListener → (dynamic Function(AnimatorState<T>)?)
VoidCallback to be called when animation is finished.
final
fastLinearToSlowEaseIn VxAnimator
no setterinherited
fastOutSlowIn VxAnimator
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
infinite VxAnimator<T>
no setter
key Key?
final
linear VxAnimator
no setterinherited
linearToEaseOut VxAnimator
no setterinherited
repeats int?
The number of forward periods the animation performs before stopping
final
resetAnimationOnRebuild bool?
Whether the animation settings are reset when Animator widget is rebuilt. The default value is false.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slowMiddle VxAnimator
no setterinherited
statusListener → (dynamic Function(AnimationStatus, AnimatorState<T>)?)
Function to be called every time the status of the animation changes.
final
tickerMixin → dynamic
For performance reason the default tickerProvider is of type singleTickerProviderStateMixin.
final
triggerOnInit bool?
Whether to start the animation when the Animator widget is inserted into the tree.
final
tween Tween<T>?
A linear interpolation between a beginning and ending value.
final
tweenMap Map<String, Tween>?
A linear interpolation between a beginning and ending value.
final
velocityCurve Curve?
getter/setter pairinherited
velocityDuration Duration?
getter/setter pairinherited

Methods

colorTween(Color begin, Color end) VxAnimator<T>
days({required int days}) VxAnimator
inherited
doubleTween(double begin, double end) VxAnimator<T>
hours({required int hours}) VxAnimator
inherited
intTween(int begin, int end) VxAnimator<T>
make({Key? key}) Widget
microSeconds({required int microSec}) VxAnimator
inherited
milliSeconds({required int milliSec}) VxAnimator
inherited
minutes({required int mins}) VxAnimator
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
seconds({required int sec}) VxAnimator
inherited
setChildForCurve(VxAnimator child) → void
inherited
setChildForDuration(VxAnimator child) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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