icon property

IconData? icon
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;