NiceAudioPlayerUI constructor
const
NiceAudioPlayerUI({
- Key? key,
- required String title,
- String? subtitle,
- String? duration,
- String? currentTime,
- double progress = 0,
- bool isPlaying = false,
- VoidCallback? onPlayPause,
- ValueChanged<
double> ? onSeek, - VoidCallback? onPrevious,
- VoidCallback? onNext,
- String? artworkUrl,
Implementation
const NiceAudioPlayerUI({
super.key,
required this.title,
this.subtitle,
this.duration,
this.currentTime,
this.progress = 0,
this.isPlaying = false,
this.onPlayPause,
this.onSeek,
this.onPrevious,
this.onNext,
this.artworkUrl,
});