stop method
void
stop()
停止倒计时
Implementation
void stop() {
if (_timer?.isActive ?? false) {
_timer?.cancel();
}
_timer = null;
_isFinish = true;
_diffTime = 0;
}
停止倒计时
void stop() {
if (_timer?.isActive ?? false) {
_timer?.cancel();
}
_timer = null;
_isFinish = true;
_diffTime = 0;
}