NicePhoneInput constructor

const NicePhoneInput({
  1. Key? key,
  2. String? value,
  3. ValueChanged<String>? onChanged,
  4. String? label,
  5. String countryCode = '+48',
  6. ValueChanged<String>? onCountryCodeChanged,
  7. bool enabled = true,
  8. List<String> countryCodes = const ['+48', '+1', '+44', '+49', '+33', '+34', '+39', '+81', '+86'],
})

Implementation

const NicePhoneInput({
  super.key,
  this.value,
  this.onChanged,
  this.label,
  this.countryCode = '+48',
  this.onCountryCodeChanged,
  this.enabled = true,
  this.countryCodes = const ['+48', '+1', '+44', '+49', '+33', '+34', '+39', '+81', '+86'],
});