prefixStyle property

TextStyle? prefixStyle
final

The style to use for the InputDecoration.prefixText.

If prefixStyle is a MaterialStateTextStyle, then the effective text style can depend on the MaterialState.focused state, i.e. if the TextField is focused or not.

If null, defaults to the hintStyle.

Implementation

final TextStyle? prefixStyle;