color property

Color? color
final

The default for Icon.color.

In material apps, if there is a Theme without any IconThemes specified, icon colors default to white if ThemeData.brightness is dark and black if ThemeData.brightness is light.

Otherwise, falls back to black.

Implementation

final Color? color;