icon property

IconData? icon
final

Optionally supply an icon for the button.

Implementation

final IconData? icon;