suffix property

Widget? suffix

Optional widget to place on the line after the input.

This can be used, for example, to add some padding to the text that would otherwise be specified using suffixText, or to add a custom widget after the input. The widget's baseline is lined up with the input baseline.

Only one of suffix and suffixText can be specified.

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

See also:

  • prefix, the equivalent but on the leading edge.


final Widget? suffix;