AudioPlayerView constructor

const AudioPlayerView({
  1. Key? key,
  2. required String url,
  3. required bool isPlaying,
  4. required Duration totalDuration,
  5. required Duration currentDuration,
  6. required Play play,
  7. required Pause pause,
  8. required Seek seek,
})

Implementation

const AudioPlayerView({
  super.key,
  required this.url,
  required this.isPlaying,
  required this.totalDuration,
  required this.currentDuration,
  required this.play,
  required this.pause,
  required this.seek,
});