flutter how to add sound to your app code example
Example 1: add sound to my flutter app
Future playLocalAsset() async { AudioCache cache = new AudioCache(); return await cache.play("myCustomSoundEffect.mp3");}
Example 2: add sound to my flutter app
assets: - assets/myCustomSoundEffect.mp3