PhoneInput constructor

const PhoneInput({
  1. Key? key,
  2. Country? initialCountry,
  3. PhoneNumber? initialValue,
  4. ValueChanged<PhoneNumber>? onChanged,
  5. TextEditingController? controller,
  6. bool filterPlusCode = true,
  7. bool filterZeroCode = true,
  8. bool filterCountryCode = true,
  9. bool onlyNumber = true,
  10. List<Country>? countries,
  11. Widget? searchPlaceholder,
})

Implementation

const PhoneInput({
  super.key,
  this.initialCountry,
  this.initialValue,
  this.onChanged,
  this.controller,
  this.filterPlusCode = true,
  this.filterZeroCode = true,
  this.filterCountryCode = true,
  this.onlyNumber = true,
  this.countries,
  this.searchPlaceholder,
});