icon property
The icon to display on the button.
If null, only the label will be shown (if provided).
Implementation
final IconData? icon;
The icon to display on the button.
If null, only the label will be shown (if provided).
final IconData? icon;