play method
void
play()
The play() function sets the state of a ConfettiController to playing and notifies listeners.
Implementation
void play() {
_state = ConfettiControllerState.playing;
notifyListeners();
}
The play() function sets the state of a ConfettiController to playing and notifies listeners.
void play() {
_state = ConfettiControllerState.playing;
notifyListeners();
}