CountryPickerDialog constructor
const
CountryPickerDialog({
- Key? key,
- required ValueChanged<
Country> onValuePicked, - Widget? title,
- EdgeInsetsGeometry? titlePadding,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
- String? semanticLabel,
- ItemFilter? itemFilter,
- Comparator<
Country> ? sortComparator, - List<
Country> ? priorityList, - ItemBuilder? itemBuilder,
- bool isDividerEnabled = false,
- Widget divider = const Divider(height: 0.0),
- bool isSearchable = false,
- bool popOnPick = true,
- InputDecoration? searchInputDecoration,
- Color? searchCursorColor,
- Widget? searchEmptyView,
- SearchFilter? searchFilter,
Implementation
const CountryPickerDialog({
super.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,
});