validText property

String? get validText

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

Implementation

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

  return null;
}