cancelTimer method
void
cancelTimer()
取消倒计时的计时器。
Implementation
void cancelTimer() {
_timer?.cancel();
_timer = null;
_currentTime = widget.countdown;
notyChange();
}
取消倒计时的计时器。
void cancelTimer() {
_timer?.cancel();
_timer = null;
_currentTime = widget.countdown;
notyChange();
}