CountryPickerDropdown constructor

CountryPickerDropdown({
  1. required ValueChanged<Country> onValuePicked,
  2. ItemFilter? itemFilter,
  3. Comparator<Country>? sortComparator,
  4. List<Country>? priorityList,
  5. ItemBuilder? itemBuilder,
  6. String? initialValue,
  7. bool isExpanded = false,
  8. double? itemHeight = kMinInteractiveDimension,
  9. ItemBuilder? selectedItemBuilder,
  10. bool isDense = false,
  11. Widget? underline,
  12. Color? dropdownColor,
  13. VoidCallback? onTap,
  14. Widget? icon,
  15. Color? iconDisabledColor,
  16. Color? iconEnabledColor,
  17. double iconSize = 24.0,
  18. Widget? hint,
  19. Widget? disabledHint,
  20. bool isFirstDefaultIfInitialValueNotProvided = true,
})

Implementation

CountryPickerDropdown({
  required this.onValuePicked,
  this.itemFilter,
  this.sortComparator,
  this.priorityList,
  this.itemBuilder,
  this.initialValue,
  this.isExpanded = false,
  this.itemHeight = kMinInteractiveDimension,
  this.selectedItemBuilder,
  this.isDense = false,
  this.underline,
  this.dropdownColor,
  this.onTap,
  this.icon,
  this.iconDisabledColor,
  this.iconEnabledColor,
  this.iconSize = 24.0,
  this.hint,
  this.disabledHint,
  this.isFirstDefaultIfInitialValueNotProvided = true,
});