SiriWave constructor
SiriWave({
- SiriWaveController? controller,
- SiriWaveOptions options = const SiriWaveOptions(),
- SiriWaveStyle style = SiriWaveStyle.ios_9,
- Key? key,
Creates a Siri style waveform.
The dimensions of the waveform can be configured with options or wrapping the SiriWave with either a SizedBox, a Container or any other widget that constraints it's child.
The style of the waveform can be configured with style. By default, iOS 9 Siri style waveform is shown.
Implementation
SiriWave({
SiriWaveController? controller,
this.options = const SiriWaveOptions(),
this.style = SiriWaveStyle.ios_9,
super.key,
}) : _controller = controller ?? SiriWaveController();