IOS9SiriWaveformPainter constructor

IOS9SiriWaveformPainter({
  1. required AnimationController animationController,
  2. required IOS9SiriWaveformController controller,
})

Creates an instance of IOS9SiriWaveformPainter.

The animationController is used to synchronize the animation of the waveform.

The controller contains properties to control the appearance and behavior of the waveform.

Implementation

IOS9SiriWaveformPainter({
  required this.animationController,
  required this.controller,
}) : super(repaint: animationController);