SingleAnimationController constructor

SingleAnimationController({
  1. Duration? duration,
  2. required VoidCallback update,
  3. required TickerProvider vsync,
})

Implementation

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