label property

String? label
final

The label to display on the button.

If a type other than ContextMenuButtonType.custom is given and a label is not provided, then the default label for that type for the platform will be looked up.

Implementation

final String? label;