VxAnimator<T> constructor
VxAnimator<T> ({
- 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()?,
- dynamic endAnimationListener()?,
- dynamic statusListener()?,
- dynamic tickerMixin,
- Curve? curve,
- Duration? duration,
Implementation
VxAnimator({
required this.builder,
this.animatorKey,
this.child,
this.key,
this.tween,
this.tweenMap,
this.cycles,
this.repeats,
this.resetAnimationOnRebuild = false,
this.triggerOnInit,
this.customListener,
this.endAnimationListener,
this.statusListener,
this.tickerMixin,
this.curve,
this.duration,
}) {
setChildForCurve(this);
setChildForDuration(this);
}