titleText property

String? get titleText

Returns the title text based on the current operation status.

Implementation

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

  return null;
}