color property Null safety
final
The color to use for the icon inside the button, if the icon is enabled. Defaults to leaving this up to the icon widget.
The icon is enabled if onPressed is not null.
IconButton(
color: Colors.blue,
onPressed: _handleTap,
icon: Icon(Icons.widgets),
)
Implementation
final Color? color;