FXItemPicker constructor
const
FXItemPicker({
- Key? key,
- required String title,
- Color? titleColor,
- double? titleSize,
- String? hintText,
- double? hintSize,
- required List items,
- required Widget itemWidget(
- dynamic item,
- bool isSelected
- bool showTag = true,
- Widget tagWidget(
- dynamic item
- required dynamic onSearch(
- String searchText
- int maximumItem = 99,
- bool pickMultipleItem = true,
- required List selectedItems,
- bool enabledSelect = true,
- String confirmButtonTestKey = '',
- bool showConfirmButton = true,
- String? noDataText,
- String? confirmText,
- Color? buttonColor,
Implementation
const FXItemPicker({
Key? key,
required this.title,
this.titleColor,
this.titleSize,
this.hintText,
this.hintSize,
required this.items,
required this.itemWidget,
this.showTag = true,
this.tagWidget,
required this.onSearch,
this.maximumItem = 99,
this.pickMultipleItem = true,
required this.selectedItems,
this.enabledSelect = true,
this.confirmButtonTestKey = '',
this.showConfirmButton = true,
this.noDataText,
this.confirmText,
this.buttonColor,
}) : super(key: key);