IntlPhoneField constructor
      const
      IntlPhoneField({ 
    
    
- Key? key,
- String? initialCountryCode,
- String languageCode = 'en',
- bool disableAutoFillHints = false,
- bool obscureText = false,
- TextAlign textAlign = TextAlign.left,
- TextAlignVertical? textAlignVertical,
- VoidCallback? onTap,
- bool readOnly = false,
- String? initialValue,
- TextInputType keyboardType = TextInputType.phone,
- TextEditingController? controller,
- FocusNode? focusNode,
- InputDecoration decoration = const InputDecoration(),
- TextStyle? style,
- TextStyle? dropdownTextStyle,
- void onSubmitted()?,
- FutureOr<String?> validator(- PhoneNumber?
 
- ValueChanged<PhoneNumber> ? onChanged,
- List<Country> ? countries,
- ValueChanged<Country> ? onCountryChanged,
- FormFieldSetter<PhoneNumber> ? onSaved,
- bool showDropdownIcon = true,
- BoxDecoration dropdownDecoration = const BoxDecoration(),
- List<TextInputFormatter> ? inputFormatters,
- bool enabled = true,
- Brightness? keyboardAppearance,
- @Deprecated('Use searchFieldInputDecoration of PickerDialogStyle instead') String searchText = 'Search country',
- IconPosition dropdownIconPosition = IconPosition.leading,
- Icon dropdownIcon = const Icon(Icons.arrow_drop_down),
- bool autofocus = false,
- TextInputAction? textInputAction,
- AutovalidateMode? autovalidateMode = AutovalidateMode.onUserInteraction,
- bool showCountryFlag = true,
- Color? cursorColor,
- bool disableLengthCheck = false,
- EdgeInsetsGeometry flagsButtonPadding = EdgeInsets.zero,
- String? invalidNumberMessage = 'Invalid Mobile Number',
- double? cursorHeight,
- Radius? cursorRadius = Radius.zero,
- double cursorWidth = 2.0,
- bool? showCursor = true,
- PickerDialogStyle? pickerDialogStyle,
- EdgeInsets flagsButtonMargin = EdgeInsets.zero,
Implementation
const IntlPhoneField({
  Key? key,
  this.initialCountryCode,
  this.languageCode = 'en',
  this.disableAutoFillHints = false,
  this.obscureText = false,
  this.textAlign = TextAlign.left,
  this.textAlignVertical,
  this.onTap,
  this.readOnly = false,
  this.initialValue,
  this.keyboardType = TextInputType.phone,
  this.controller,
  this.focusNode,
  this.decoration = const InputDecoration(),
  this.style,
  this.dropdownTextStyle,
  this.onSubmitted,
  this.validator,
  this.onChanged,
  this.countries,
  this.onCountryChanged,
  this.onSaved,
  this.showDropdownIcon = true,
  this.dropdownDecoration = const BoxDecoration(),
  this.inputFormatters,
  this.enabled = true,
  this.keyboardAppearance,
  @Deprecated('Use searchFieldInputDecoration of PickerDialogStyle instead') this.searchText = 'Search country',
  this.dropdownIconPosition = IconPosition.leading,
  this.dropdownIcon = const Icon(Icons.arrow_drop_down),
  this.autofocus = false,
  this.textInputAction,
  this.autovalidateMode = AutovalidateMode.onUserInteraction,
  this.showCountryFlag = true,
  this.cursorColor,
  this.disableLengthCheck = false,
  this.flagsButtonPadding = EdgeInsets.zero,
  this.invalidNumberMessage = 'Invalid Mobile Number',
  this.cursorHeight,
  this.cursorRadius = Radius.zero,
  this.cursorWidth = 2.0,
  this.showCursor = true,
  this.pickerDialogStyle,
  this.flagsButtonMargin = EdgeInsets.zero,
}) : super(key: key);