label property

String? label
final

Text label for this segment.

If null, icon is used alone. If both are provided, the icon is shown above the label (same layout as iOS UISegmentedControl with images).

Implementation

final String? label;