icon property

IconData? icon
final

An optional custom icon (IconData) to override the default for the type.

Implementation

final IconData? icon;