StyleFiveWidget constructor
const
StyleFiveWidget({
- Key? key,
- required AudioPlayerWidget widget,
- required bool isPlaying,
- required double progress,
- required Duration position,
- required Duration duration,
- required bool showProgressBar,
- required bool showTimer,
- required Function playAudio,
- required Function pauseAudio,
- required dynamic seekTo(),
- required bool showSpeedControl,
- required List<
double> playbackSpeeds, - required double currentSpeed,
- required dynamic setSpeed(),
- required List<
double> waveformData,
Constructor for the StyleFiveWidget
Implementation
const StyleFiveWidget({
super.key,
required this.widget,
required this.isPlaying,
required this.progress,
required this.position,
required this.duration,
required this.showProgressBar,
required this.showTimer,
required this.playAudio,
required this.pauseAudio,
required this.seekTo,
required this.showSpeedControl,
required this.playbackSpeeds,
required this.currentSpeed,
required this.setSpeed,
required this.waveformData,
});