cancel method

void cancel()

Implementation

void cancel() {
  model.restore(_lastState);
  selection.value = _lastState!.value;
  _showApplyBar(!_isPreset(_lastState!.value));
  close();
  focusOnClose?.focus();
}