AudioCache constructor
AudioCache({
- String prefix = 'assets/',
- AudioPlayer? fixedPlayer,
- bool respectSilence = false,
- bool duckAudio = false,
Implementation
AudioCache({
this.prefix = 'assets/',
this.fixedPlayer,
this.respectSilence = false,
this.duckAudio = false,
}) : assert(!kIsWeb, 'AudioCache is not available for Flutter Web.');