NicePhoneInput constructor

const NicePhoneInput({
  1. Key? key,
  2. String? value,
  3. void onChanged(
    1. String fullNumber,
    2. String countryCode,
    3. String number
    )?,
  4. String initialCountryCode = 'PL',
  5. bool showFlag = true,
  6. bool showDialCode = true,
  7. bool enabled = true,
  8. String? label,
  9. String? errorText,
  10. String? hintText,
})

Implementation

const NicePhoneInput({
  super.key,
  this.value,
  this.onChanged,
  this.initialCountryCode = 'PL',
  this.showFlag = true,
  this.showDialCode = true,
  this.enabled = true,
  this.label,
  this.errorText,
  this.hintText,
});