ContactInput<T> constructor
const
ContactInput<T> ({
- Key? key,
- ContactLabels<
T> labels = const ContactLabels(), - ContactValue<
T> value = const ContactValue._(), - bool enabled = true,
- bool showTypeSelectionField = true,
- bool showDescriptionField = false,
- bool showCountryForPhoneNumbers = true,
- bool enableCountrySelectionForPhoneNumbers = true,
- String defaultCountryCode = 'US',
- Validator? emailValidator,
- FocusCallback? onFocus,
- FocusNode? focusNode,
- 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,
});