Audio constructor

const Audio({
  1. Key? key,
  2. required Uri source,
  3. String? defaultText = 'Audio cannot be played.',
  4. bool showControls = true,
  5. bool autoplay = false,
  6. bool loop = false,
  7. bool muted = false,
})

Implementation

const Audio({
  super.key,
  required this.source,
  this.defaultText = 'Audio cannot be played.',
  this.showControls = true,
  this.autoplay = false,
  this.loop = false,
  this.muted = false,
});