iconColor property

Color? iconColor
final

The Color to use for the InputDecoration.icon.

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

If null, defaults to the ColorScheme.primary.

Implementation

final Color? iconColor;