GpDomainPhoneInput constructor
const
GpDomainPhoneInput({
- Key? key,
- required TextEditingController controller,
- String labelText = 'Phone number',
- String hintText = '987 654 321',
- String initialCountryCode = 'US',
- ValueChanged<
String> ? onChanged, - ValueChanged<
GpSmartLoginValue> ? onValueChanged, - FormFieldValidator<
String> ? validator, - bool enabled = true,
- bool isLoading = false,
Implementation
const GpDomainPhoneInput({
super.key,
required this.controller,
this.labelText = 'Phone number',
this.hintText = '987 654 321',
this.initialCountryCode = 'US',
this.onChanged,
this.onValueChanged,
this.validator,
this.enabled = true,
this.isLoading = false,
});