label property

String? label
final

The button's label.

If the text is too long, it will be clipped using ellipsis. Prefer to use short strings.

If this parameter is not null, icon must be null.

Implementation

final String? label;