prefixText property

String prefixText
final

Optional text prefix to place on the line before the input.

Uses the prefixStyle. Uses hintStyle if prefixStyle isn't specified. The prefix text is not returned as part of the user's input.

If a more elaborate prefix is required, consider using prefix instead. Only one of prefix and prefixText can be specified.

The prefixText appears after the prefixIcon, if both are specified.

See also:

  • suffixText, the equivalent but on the trailing edge.

Implementation

final String prefixText