PhoneEmailInputWidget constructor

PhoneEmailInputWidget({
  1. bool showAlternative = true,
  2. bool persist = false,
  3. bool valueRequired = false,
  4. PhoneNumber? initial,
  5. String? phoneNotice,
  6. String? emailNotice,
  7. String? initialEmail,
  8. String labelFunction(
    1. bool email
    )?,
  9. String? switchToEmailLabel,
  10. String? switchToPhoneNumberLabel,
  11. String? emailLabel,
  12. String? phoneLabel,
  13. PhoneEmailInputType type = PhoneEmailInputType.phoneNumber,
  14. required Future<List<PhoneCode>?> phoneCodesLoader(),
  15. required void onEmailRead(
    1. String email
    )?,
  16. required void onPhoneNumberRead(
    1. PhoneNumber phoneNumber
    )?,
})

Implementation

PhoneEmailInputWidget({
  this.showAlternative: true,
  this.persist: false,
  this.valueRequired: false,
  this.initial,
  this.phoneNotice,
  this.emailNotice,
  this.initialEmail,
  this.labelFunction,
  this.switchToEmailLabel,
  this.switchToPhoneNumberLabel,
  this.emailLabel,
  this.phoneLabel,
  this.type: PhoneEmailInputType.phoneNumber,
  required this.phoneCodesLoader,
  required this.onEmailRead,
  required this.onPhoneNumberRead,
});