phoneNumberSafe property

List<TextInputFormatter> get phoneNumberSafe

Allows phone number characters Includes digits, +, -, (, ), and spaces

Implementation

static List<TextInputFormatter> get phoneNumberSafe => <TextInputFormatter>[
  FilteringTextInputFormatter.deny(_phonePattern),
];