CellphoneInput constructor
const
CellphoneInput({
- Key? key,
- required TextEditingController controller,
- String? initialValue,
- FormFieldValidator<
String> ? validator, - FormFieldSetter<
String> ? onSaved, - AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
- TextInputAction textInputAction = TextInputAction.next,
- dynamic onChanged()?,
- VoidCallback? onTap,
- String? helperText,
- String? errorText,
- bool enabled = true,
- bool required = false,
- Country? initialCountry,
- dynamic onCountryChanged()?,
Implementation
const CellphoneInput({
super.key,
required this.controller,
this.initialValue,
this.validator,
this.onSaved,
this.autovalidateMode = AutovalidateMode.disabled,
this.textInputAction = TextInputAction.next,
this.onChanged,
this.onTap,
this.helperText,
this.errorText,
this.enabled = true,
this.required = false,
this.initialCountry,
this.onCountryChanged,
});