Audio constructor

Audio({
  1. required String path,
  2. double playbackRate = 1.0,
  3. bool hasPlaybackControl = true,
  4. bool autoplay = false,
  5. bool loop = false,
})

Implementation

Audio({
  required this.path,
  this.playbackRate = 1.0,
  this.hasPlaybackControl = true,
  this.autoplay = false,
  this.loop = false
});