prefixIconColor property

Color? prefixIconColor
final

The Color to use for the InputDecoration.prefixIcon.

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