getHelperText method

String getHelperText(
  1. BuildContext context
)

Implementation

String getHelperText(BuildContext context) {
  if (field.error?.isNotEmpty == true) {
    return field.error!;
  }
  if (field.warning?.isNotEmpty == true) {
    return field.warning!;
  }
  if (field.information?.isNotEmpty == true) {
    return field.information!;
  }
  return "";
}