MaskedTextInputFormatter constructor

MaskedTextInputFormatter({
  1. required String mask,
  2. required String separator,
  3. RegExp? allowedChars,
})

Implementation

MaskedTextInputFormatter({
  required this.mask,
  required this.separator,
  RegExp? allowedChars,
}) : allowedChars = allowedChars ?? _digitChar;