icon property

IconData? icon
final

The icon to display in the button.

Mutually exclusive with child. Use the default constructor for icon buttons.

Implementation

final IconData? icon;