inputFormatters property
A list of input formatters which can validate the text as it is being typed.
If you specify this parameter, the default input formatters aren't used, so make sure you really check for everything (like length of the input).
Sample code
An code input that displays a normal keyboard but only allows for hexadecimal input:
CodeInput(
inputFormatters: [
FilteringTextInputFormatter.allow(RegExp('^[0-9a-fA-F]*\$'))
]
)
Implementation
final List<TextInputFormatter> inputFormatters;