ContactInput<T> constructor

const ContactInput<T>({
  1. Key? key,
  2. ContactLabels<T> labels = const ContactLabels(),
  3. ContactValue<T> value = const ContactValue._(),
  4. bool enabled = true,
  5. bool showTypeSelectionField = true,
  6. bool showDescriptionField = false,
  7. bool showCountryForPhoneNumbers = true,
  8. bool enableCountrySelectionForPhoneNumbers = true,
  9. String defaultCountryCode = 'US',
  10. Validator? emailValidator,
  11. FocusCallback? onFocus,
  12. FocusNode? focusNode,
  13. required ContactInputCallback<T> onChanged,
})

Implementation

const ContactInput({
  super.key,
  this.labels = const ContactLabels(),
  this.value = const ContactValue._(),
  this.enabled = true,
  this.showTypeSelectionField = true,
  this.showDescriptionField = false,
  this.showCountryForPhoneNumbers = true,
  this.enableCountrySelectionForPhoneNumbers = true,
  this.defaultCountryCode = 'US',
  this.emailValidator,
  this.onFocus,
  this.focusNode,
  required this.onChanged,
});