suffixText property Null safety

String? suffixText
final

Optional text suffix to place on the line after the input.

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

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

The suffixText appears before the suffixIcon, if both are specified.

See also:

  • prefixText, the equivalent but on the leading edge.

Implementation

final String? suffixText;