SingleAnimationController constructor
SingleAnimationController({
- Duration? duration,
- required VoidCallback update,
- required TickerProvider vsync,
Implementation
SingleAnimationController({Duration? duration, required VoidCallback update, required TickerProvider vsync})
: _controller = AnimationController(vsync: vsync, duration: duration, value: 1)..addListener(update);