CountryPicker constructor

const CountryPicker({
  1. Key? key,
  2. required void onSelect(
    1. ({String? code, String name})
    ),
  3. String? labelText,
  4. String? hintText,
  5. bool enabled = true,
  6. String? validator(
    1. String?
    )?,
})

Constructor

Implementation

const CountryPicker({
  super.key,
  required this.onSelect,
  this.labelText,
  this.hintText,
  this.enabled = true,
  this.validator,
});