inputFormatters property

List<TextInputFormatter>? inputFormatters
final

Optional input validation and formatting overrides.

Formatters are run in the provided order when the user changes the text this widget contains. When this parameter changes, the new formatters will not be applied until the next time the user inserts or deletes text. Similar to the onChange callback, formatters don't run when the text is changed programmatically via controller.

See also:

Implementation

final List<TextInputFormatter>? inputFormatters;