getCalculateText method

String getCalculateText()

Implementation

String getCalculateText() {
  String value = BrnIntl.of(context).localizedResource.pleaseChoose;
  if (!PhoenixTools.isEmpty(widget.value)) {
    value = widget.value!;
  } else if (!PhoenixTools.isEmpty(widget.hint)) {
    value = widget.hint ?? BrnIntl.of(context).localizedResource.pleaseChoose;
  }
  return value;
}