PhoneField constructor

const PhoneField({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. Country country,
    3. VoidCallback openPicker
    ),
  3. String initialCountry = 'EG',
  4. String languageCode = 'en',
  5. List<String> availableCountries = const [],
  6. void onCountryChanged(
    1. Country country
    )?,
})

Implementation

const PhoneField({
  super.key,
  required this.builder,
  this.initialCountry = 'EG',
  this.languageCode = 'en',
  this.availableCountries = const [],
  this.onCountryChanged,
});