color property

Color? color
final

Foreground color for text and icon theme.

The icon color is only applied when icon is an Icon (or any widget that reads IconTheme). If icon is another custom widget, this color does not automatically change that widget's appearance.

Defaults to Colors.grey[600] when omitted.

Implementation

final Color? color;