Audio "Play / Stop" button

Troubleshooting

I had already asked this question here but it disappeared from the list...

I can apply the url of a stream to a small image in the app where the "play" symbol appears.

The person taps and the audio stream starts immediately.

But I can't create an action to stop the stream if the user touches the image again. How can I do that?

It only allows you to create a new action in the "double tap" tab. The problem is that the user doesn't know that they have to tap twice to stop.

And is it possible for the icon to change to the "stop" symbol while the stream is ON?


What have you tried so far?

I thought I'd just add a stop action after the initial play action, but that means the audio never actually plays

I didn't want to install the audio player widget because that way I can't just have the play symbol and I'm forced to use the layout that is set by default in the widgets.

I've consulted documentation and searched youtube but I can't find a solution. Can anyone help me?

Did you check FlutterFlow's Documentation for this topic?
Yes