CountryPickerDropdown constructor
CountryPickerDropdown({
- required ValueChanged<
Country> onValuePicked, - ItemFilter? itemFilter,
- Comparator<
Country> ? sortComparator, - List<
Country> ? priorityList, - ItemBuilder? itemBuilder,
- String? initialValue,
- bool isExpanded = false,
- double? itemHeight = kMinInteractiveDimension,
- ItemBuilder? selectedItemBuilder,
- bool isDense = false,
- Widget? underline,
- Color? dropdownColor,
- VoidCallback? onTap,
- Widget? icon,
- Color? iconDisabledColor,
- Color? iconEnabledColor,
- double iconSize = 24.0,
- Widget? hint,
- Widget? disabledHint,
- 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,
});