working with sounds in flutter code example
Example 1: add sound to my flutter app
Future<AudioPlayer> playLocalAsset() async { AudioCache cache = new AudioCache(); return await cache.play("myCustomSoundEffect.mp3");}
Example 2: add sound to my flutter app
assets: - assets/myCustomSoundEffect.mp3