icon property Null safety
final
The icon to display. The available icons are described in Icons.
The icon can be null, in which case the widget will render as an empty space of the specified size.
Implementation
final IconData? icon;
The icon to display. The available icons are described in Icons.
The icon can be null, in which case the widget will render as an empty space of the specified size.
final IconData? icon;