label property

String? get label

The tab label.

When it's being set, it also resets the text width for re-calculation subsequently.

Implementation

String? get label => _label;
  1. @Input()
set label (String? label)

Implementation

@Input()
set label(String? label) {
  _textWidth = 0;
  _label = label;
}