icon property

IconData? icon
final

Optional icon before the text.

Implementation

final IconData? icon;