Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

add sound to my flutter app

Future<AudioPlayer> playLocalAsset() async {    AudioCache cache = new AudioCache();    return await cache.play("myCustomSoundEffect.mp3");}
Source by bennett4.medium.com #
 
PREVIOUS NEXT
Tagged: #add #sound #flutter #app
ADD COMMENT
Topic
Name
7+8 =