Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could we have a method for cancelling all current playing #24

Open
lvhkhanh opened this issue Jul 24, 2019 · 1 comment
Open

Could we have a method for cancelling all current playing #24

lvhkhanh opened this issue Jul 24, 2019 · 1 comment

Comments

@lvhkhanh
Copy link

I have a list to play. When tap on a list item, it stop previous playing and start new playing

                      if (play) {
                        FlutterRadio.stopAll(); // <= Need some like this :)
                        FlutterRadio.play(url: widget.url);
                      } else {
                        FlutterRadio.pause(url: widget.url);
                      }
@hinthorozu
Copy link

I want me too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants