CountryPickerField constructor

const CountryPickerField({
  1. Key? key,
  2. required Rx<String> selectedCountry,
  3. required String label,
  4. required String hint,
  5. required bool isRequired,
  6. required dynamic onCountryChanged(
    1. String code,
    2. String phone
    ),
})

Implementation

const CountryPickerField({
  super.key,
  required this.selectedCountry,
  required this.label,
  required this.hint,
  required this.isRequired,
  required this.onCountryChanged,
});