How I handle Audio Ducking in my pure Flutter game
by Brad Cypert youtube.com
7 min 205 views
Audio is a key component of most video games. Background music helps set the stage and sound effects really reinforce the impact of things happening in the game. But its a little weird when you close the game and the background audio keeps playing, right? You can modify your Flutter application to use a WidgetsBindingObserver to handle audio ducking, or stopping the audio when the application is closed or backgrounded. Additionally, you can resume the audio with the same observer when the application is resumed! If you find this video helpful, send it to a friend who also might enjoy it and let's help make Flutter a 10 out of 10 game platform!
More like this
Article 7 min readHow to add music / audio to your Flutter app
Wanting to add music or audio to your Flutter app? Look no further! I’ve detailed all of the ways you can do this in one entire write up!
Read on medium.com
Article 19 min readHow to Leverage BLoC for Code Sharing in Flutter and AngularDart
by Marko Perutović
Learn how the BLoC pattern can lead to more than 50% code reuse in both your Flutter mobile apps and your AngularDart web app! BLoC is a paradigm through which you can isolate your business logic in p...
Read on toptal.com
Article 5 min readHow to call a Rust function from Dart using FFI
by Sacha Arbonel
… let’s prototype a cross platform cli that reads audio files on Mac, Windows, and Linux.
Read on itnext.io