make method
Implementation
@override
Widget make({Key? key}) {
return Animator<T>(
key: key,
animatorKey: animatorKey,
builder: builder,
child: child,
tween: _doubleTween as Tween<T?>? ??
_intTween as Tween<T?>? ??
_colorTween as Tween<T?>? ??
tween as Tween<T?>,
triggerOnInit: triggerOnInit,
repeats: repeats,
customListener: customListener,
curve: velocityCurve ?? curve ?? Curves.linear,
cycles: _infiniteCycles ?? cycles,
duration:
velocityDuration ?? duration ?? const Duration(milliseconds: 500),
resetAnimationOnRebuild: resetAnimationOnRebuild ?? false,
endAnimationListener: endAnimationListener,
statusListener: statusListener,
tickerMixin: tickerMixin,
tweenMap: tweenMap,
);
}