NiceAudioPlayerUI constructor

const NiceAudioPlayerUI({
  1. Key? key,
  2. required String title,
  3. String? subtitle,
  4. String? duration,
  5. String? currentTime,
  6. double progress = 0,
  7. bool isPlaying = false,
  8. VoidCallback? onPlayPause,
  9. ValueChanged<double>? onSeek,
  10. VoidCallback? onPrevious,
  11. VoidCallback? onNext,
  12. 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,
});