CountryPickerContent constructor

const CountryPickerContent({
  1. Key? key,
  2. required ValueNotifier<List<CountryModel>> filteredCountries,
  3. required ValueNotifier<CountryModel?> selectedCountry,
  4. required dynamic onSelect(
    1. CountryModel
    ),
  5. required bool isSearchEnable,
  6. required FocusNode searchFocus,
  7. required ValueNotifier<String> searchText,
  8. required dynamic onSearch(
    1. String
    ),
  9. double? height,
  10. double? width,
})

Implementation

const CountryPickerContent({
  super.key,
  required this.filteredCountries,
  required this.selectedCountry,
  required this.onSelect,
  required this.isSearchEnable,
  required this.searchFocus,
  required this.searchText,
  required this.onSearch,
  this.height,
  this.width,
});