VxAnimator<T> constructor

VxAnimator<T>({
  1. required Widget builder(
    1. BuildContext context,
    2. AnimatorState<T> animatorState,
    3. Widget? child
    ),
  2. AnimatorKey<T>? animatorKey,
  3. Widget? child,
  4. Key? key,
  5. Tween<T>? tween,
  6. Map<String, Tween>? tweenMap,
  7. int? cycles,
  8. int? repeats,
  9. bool? resetAnimationOnRebuild = false,
  10. bool? triggerOnInit,
  11. dynamic customListener(
    1. AnimatorState<T>
    )?,
  12. dynamic endAnimationListener(
    1. AnimatorState<T>
    )?,
  13. dynamic statusListener(
    1. AnimationStatus,
    2. AnimatorState<T>
    )?,
  14. dynamic tickerMixin,
  15. Curve? curve,
  16. 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);
}