PhoneNumberField constructor
const
PhoneNumberField({
- Key? key,
- InputDecoration decoration = const InputDecoration(),
- TextStyle? style,
- double countryCodeWidth = 135,
- PhoneNumberEditingController? controller,
- String dialogTitle = 'Area code',
- PhoneNumberFieldPrefixBuilder prefixBuilder = _buildPrefix,
Implementation
const PhoneNumberField({
Key? key,
this.decoration = const InputDecoration(),
this.style,
this.countryCodeWidth = 135,
this.controller,
this.dialogTitle = 'Area code',
this.prefixBuilder = _buildPrefix,
}) : super(key: key);