TextInputFormatter.withFunction constructor
- TextInputFormatFunction formatFunction
A shorthand to creating a custom TextInputFormatter which formats incoming text input changes with the given function.
Implementation
const factory TextInputFormatter.withFunction(TextInputFormatFunction formatFunction) = _SimpleTextInputFormatter;