icon property
final
The icon to display inside the button.
The Icon.size and Icon.color of the icon is configured automatically based on the iconSize and color properties of this widget using an IconTheme and therefore should not be explicitly given in the icon widget.
This property must not be null.
Implementation
final Widget icon