PhoneField constructor
const
PhoneField({
- Key? key,
- required Widget builder(
- BuildContext context,
- Country country,
- VoidCallback openPicker
- String initialCountry = 'EG',
- String languageCode = 'en',
- List<
String> availableCountries = const [], - void onCountryChanged(
- Country country
Implementation
const PhoneField({
super.key,
required this.builder,
this.initialCountry = 'EG',
this.languageCode = 'en',
this.availableCountries = const [],
this.onCountryChanged,
});