I am using a mask for Austrailia +61 (###) ###-####. I need the number to be formatted to +61 (123) 456-7890. The solution works with PhoneInputFormatter. However, PhoneInputFormatter does not allow for formatting like () and -.
TextFormField(
keyboardType: TextInputType.phone,
autocorrect: false,
inputFormatters: [
MaskedInputFormater('+61 (000) 000-0000')
],
// .. etc
);
The above mask will not allow to enter either 1 or 6. How can I fix the issue to both keep the formatting and let user type the digits as well?
There are some typo issue, try this for
mask_text_input_formatter