GpDomainPhoneInput constructor

const GpDomainPhoneInput({
  1. Key? key,
  2. required TextEditingController controller,
  3. String labelText = 'Phone number',
  4. String hintText = '987 654 321',
  5. String initialCountryCode = 'US',
  6. ValueChanged<String>? onChanged,
  7. ValueChanged<GpSmartLoginValue>? onValueChanged,
  8. FormFieldValidator<String>? validator,
  9. bool enabled = true,
  10. 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,
});