icon property

IconData? icon
final

The icon shown before the label.

The color used will be determined by color.

Implementation

final IconData? icon;