prefixIconColor property

Color? prefixIconColor
final

The Color to use for the InputDecoration.prefixIcon.

If prefixIconColor 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? prefixIconColor;