cancel method

  1. @override
void cancel()
override

Cancel the indeterminate progress display.

Implementation

@override
void cancel() {
  if (_timer.isActive) {
    _timer.cancel();
    _updateDisplay(cancelled: true);
  }
}