iconColor property

Color? iconColor
final

The Color to use for the InputDecoration.icon.

If iconColor is a MaterialStateColor, then the effective color can depend on the MaterialState.focused state, i.e. if the TextField is focused or not.

If null, defaults to the ColorScheme.primary.

Implementation

final Color? iconColor;