PhoneField constructor
const
PhoneField({
- Key? key,
- TextEditingController? controller,
- String? label,
- FormFieldValidator<
String> ? validator, - String? initialCountryCode = '+91',
- List<
String> ? allowedCountries, - bool showCountryFlag = true,
- 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);