WaveSliderController constructor

WaveSliderController(
  1. {@required TickerProvider vsync}
)

Implementation

WaveSliderController({@required TickerProvider vsync})
    : controller = AnimationController(vsync: vsync) {
  controller
    ..addListener(_onProgressUpdate)
    ..addStatusListener(_onStatusUpdate);
}