doShowLabel method

bool doShowLabel()

Implementation

bool doShowLabel() {
  return (widget.type == UFUInputBoxType.withLabel ||
          widget.type == UFUInputBoxType.withLabelOutside ||
          widget.type == UFUInputBoxType.withLabelAndClearIcon) &&
      widget.label != null;
}