You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a timer app that will need to beep when the timer is over. I have it set to final player = AudioCache(); and when the timer is over I have the player do a loop because .play only plays it once. How do I end the loop? https://github.com/OrionBT/timer/blob/master/lib/main.dart
On row 219 to 225 is where I try to stop the sound by activating it in a button with player.clearAll() but that doesn't work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a timer app that will need to beep when the timer is over. I have it set to
final player = AudioCache();
and when the timer is over I have the player do a loop because .play only plays it once. How do I end the loop?https://github.com/OrionBT/timer/blob/master/lib/main.dart
On row 219 to 225 is where I try to stop the sound by activating it in a button with player.clearAll() but that doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions