cancelText property

String? get cancelText

Returns the cancel button text based on the current operation status.

Implementation

String? get cancelText {
  if (widget.onGetCancelText != null) {
    return widget.onGetCancelText!(_currentStatus);
  }

  return null;
}