Background audio in Flutter with Audio Service and Just Audio

35 min readJul 17, 2021

A full step-by-step tutorial

Article updated on March 18, 2023.

If you’re only playing short audio clips in your app, then generally a simple audio player plugin will work. However, for longer audio forms like music or podcasts, this is often insufficient. Let’s say you start playing a podcast but then leave this app to check your…