FastSelectField<T> constructor
const
FastSelectField<T> ({
- Key? key,
- required ValueChanged<
FastItem< onSelectionChanged,T> ?> - required List<
FastItem< items,T> > - String? labelText,
- String? searchPlaceholderText,
- String? clearSelectionText,
- Widget? clearSearchIcon,
- String? searchTitleText,
- bool showHelperBoundaries = true,
- bool canClearSelection = true,
- int intialCategoryIndex = 0,
- bool groupByCategory = false,
- bool useFuzzySearch = false,
- bool isReadOnly = false,
- bool sortItems = true,
- bool isEnabled = true,
- String? placeholderText,
- String? allCategoryText,
- List<
FastListItemCategory< extraTabBuilder()?,FastItem< >T> > - String? captionText,
- String? helperText,
- List<
FastCategory> ? categories, - Widget? closeIcon,
- Widget? backIcon,
- FastListViewLayoutDelegate<
FastItem< ? searchPageDelegate,T> > - FastItem<
T> ? selection, - FastEmptyListBuilder<
FastItem< ? listViewEmptyContentBuilder,T> > - String? listViewEmptyText,
- VoidCallback? onSearchPageClose,
- FastFastSelectFieldDelegate<
FastItem< ? delegate,T> > - Widget? icon,
- Widget? leading,
- String? noneText,
- String? noneTextGender,
- EdgeInsets? listViewContentPadding,
- EdgeInsets? itemContentPadding,
Implementation
const FastSelectField({
super.key,
required this.onSelectionChanged,
required this.items,
this.labelText,
this.searchPlaceholderText,
this.clearSelectionText,
this.clearSearchIcon,
this.searchTitleText,
this.showHelperBoundaries = true,
this.canClearSelection = true,
this.intialCategoryIndex = 0,
this.groupByCategory = false,
this.useFuzzySearch = false,
this.isReadOnly = false,
this.sortItems = true,
this.isEnabled = true,
this.placeholderText,
this.allCategoryText,
this.extraTabBuilder,
this.captionText,
this.helperText,
this.categories,
this.closeIcon,
this.backIcon,
this.searchPageDelegate,
this.selection,
this.listViewEmptyContentBuilder,
this.listViewEmptyText,
this.onSearchPageClose,
this.delegate,
this.icon,
this.leading,
this.noneText,
this.noneTextGender,
this.listViewContentPadding,
this.itemContentPadding,
});