color property

Color? color
final

The color to use when drawing the icon.

Defaults to the current MacosIconTheme color, if any.

The color (whether specified explicitly here or obtained from the MacosIconTheme) will be further adjusted by the opacity of the current MacosIconTheme, if any.

If no MacosIconTheme and no MacosTheme is specified, icons will default to the color value of CupertinoColors.activeBlue.color.

See MacosTheme to set the current theme and MacosThemeData.brightness for setting the current theme's brightness.

Implementation

final Color? color;