“just_audio_background supports only a single player instance, null, null”
I keep getting this error when I create an instance of AudioPlayer
but I don’t get it when I remove of instances of it from it from the code and when the check the plugins code I saw this method:
Diplay media notification in flutter
I use the just_audio
package in my flutter app to play musics.
How can I display a music player notification in the user’s notification bar; something like the picture below: