color property

Color color
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.

See also disabledColor.

 new IconButton(
   color: Colors.blue,
   onPressed: _handleTap,
   icon: Icons.widgets,
 ),

Implementation

final Color color