prefixStyle property

TextStyle? prefixStyle
final

The style to use for the prefixText.

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

If null, defaults to the hintStyle.

See also:

  • suffixStyle, the equivalent but on the trailing edge.

Implementation

final TextStyle? prefixStyle;