CountryPickerDialog constructor

CountryPickerDialog({
  1. Key? key,
  2. required ValueChanged<Country> onValuePicked,
  3. Widget? title,
  4. EdgeInsetsGeometry? titlePadding,
  5. EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
  6. String? semanticLabel,
  7. ItemFilter? itemFilter,
  8. Comparator<Country>? sortComparator,
  9. List<Country>? priorityList,
  10. ItemBuilder? itemBuilder,
  11. bool isDividerEnabled = false,
  12. Widget divider = const Divider(height: 0.0),
  13. bool isSearchable = false,
  14. bool popOnPick = true,
  15. InputDecoration? searchInputDecoration,
  16. Color? searchCursorColor,
  17. Widget? searchEmptyView,
  18. SearchFilter? searchFilter,
})

Implementation

CountryPickerDialog({
  Key? key,
  required this.onValuePicked,
  this.title,
  this.titlePadding,
  this.contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
  this.semanticLabel,
  this.itemFilter,
  this.sortComparator,
  this.priorityList,
  this.itemBuilder,
  this.isDividerEnabled = false,
  this.divider = const Divider(
    height: 0.0,
  ),
  this.isSearchable = false,
  this.popOnPick = true,
  this.searchInputDecoration,
  this.searchCursorColor,
  this.searchEmptyView,
  this.searchFilter,
}) : super(key: key);