I am working on flutter app which has audio player functionality.For handling audio I am using audioplayer package and its working fine .
Now When audio player is running and if mobile connected to bluetooth then user can play or pause audio using connected bluetooth device button or tap gesture.
I spent almost two days in this functionality but not found any proper solution
Do you have any solution for same.
It will great if anyone can help