labelIcon property

Widget? labelIcon
final

Optional widget to use as the button icon instead of label.

When non-null, this widget is displayed instead of Text(label). Use this on platforms where the emoji label would not render (e.g. Linux without NotoColorEmoji), passing an Icon(Icons.help_outline) or similar Material icon.

Implementation

final Widget? labelIcon;