PhoneField constructor

const PhoneField({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? label,
  4. FormFieldValidator<String>? validator,
  5. String? initialCountryCode = '+91',
  6. List<String>? allowedCountries,
  7. bool showCountryFlag = true,
  8. InputDecoration? decoration,
})

Implementation

const PhoneField({
  Key? key,
  this.controller,
  this.label,
  this.validator,
  this.initialCountryCode = '+91',
  this.allowedCountries,
  this.showCountryFlag = true,
  this.decoration,
}) : super(key: key);