label property
String?
get
label
An optional label rendered to the right of the spinner.
Implementation
String? get label => _label;
set
label
(String? value)
Sets the label and marks layout as needed.
Implementation
set label(String? value) {
if (_label == value) return;
_label = value;
markNeedsLayout();
}