TextInputFormatFunction typedef
Function signature expected for creating custom TextInputFormatter shorthands via TextInputFormatter.withFunction.
Implementation
typedef TextInputFormatFunction = TextEditingValue Function(
TextEditingValue oldValue,
TextEditingValue newValue,
);