getLabelText method

String getLabelText()

Implementation

String getLabelText() {
  if (!doShowLabel()) {
    return '';
  }
  return widget.label ?? '';
}