PopupPropsMultiSelection<T> class Null safety

Inheritance

Constructors

PopupPropsMultiSelection.bottomSheet({Widget? title, TextStyle? textStyle, FlexFit fit = FlexFit.tight, bool showSearchBox = false, TextFieldProps searchFieldProps = const TextFieldProps(), ListViewProps listViewProps = const ListViewProps(), FavoriteItemProps<T> favoriteItemProps = const FavoriteItemProps(), BottomSheetProps bottomSheetProps = const BottomSheetProps(), ScrollbarProps scrollbarProps = const ScrollbarProps(), Duration? searchDelay, VoidCallback? onDismissed, EmptyBuilder? emptyBuilder, DropdownSearchPopupItemBuilder<T>? itemBuilder, ErrorBuilder? errorBuilder, LoadingBuilder? loadingBuilder, bool showSelectedItems = false, DropdownSearchPopupItemEnabled<T>? disabledItemFn, bool isFilterOnline = false, PopupBuilder? containerBuilder, BoxConstraints constraints = const BoxConstraints(maxHeight: 500), bool interceptCallBacks = false, OnItemAdded<T>? onItemAdded, OnItemRemoved<T>? onItemRemoved, DropdownSearchPopupItemBuilder<T>? selectionWidget, ValidationMultiSelectionBuilder<T>? validationWidgetBuilder})
const
PopupPropsMultiSelection.dialog({Widget? title, TextStyle? textStyle, FlexFit fit = FlexFit.tight, bool showSearchBox = false, TextFieldProps searchFieldProps = const TextFieldProps(), ScrollbarProps scrollbarProps = const ScrollbarProps(), ListViewProps listViewProps = const ListViewProps(), FavoriteItemProps<T> favoriteItemProps = const FavoriteItemProps(), DialogProps dialogProps = const DialogProps(), Duration? searchDelay, VoidCallback? onDismissed, EmptyBuilder? emptyBuilder, DropdownSearchPopupItemBuilder<T>? itemBuilder, ErrorBuilder? errorBuilder, LoadingBuilder? loadingBuilder, bool showSelectedItems = false, DropdownSearchPopupItemEnabled<T>? disabledItemFn, bool isFilterOnline = false, PopupBuilder? containerBuilder, BoxConstraints constraints = const BoxConstraints(minWidth: 500, maxWidth: 500, maxHeight: 600), bool interceptCallBacks = false, OnItemAdded<T>? onItemAdded, OnItemRemoved<T>? onItemRemoved, DropdownSearchPopupItemBuilder<T>? selectionWidget, ValidationMultiSelectionBuilder<T>? validationWidgetBuilder})
const
PopupPropsMultiSelection.from(PopupProps<T> popupProps)
PopupPropsMultiSelection.menu({Widget? title, TextStyle? textStyle, FlexFit fit = FlexFit.tight, bool showSearchBox = false, TextFieldProps searchFieldProps = const TextFieldProps(), MenuProps menuProps = const MenuProps(), FavoriteItemProps<T> favoriteItemProps = const FavoriteItemProps(), ScrollbarProps scrollbarProps = const ScrollbarProps(), ListViewProps listViewProps = const ListViewProps(), Duration? searchDelay, VoidCallback? onDismissed, EmptyBuilder? emptyBuilder, DropdownSearchPopupItemBuilder<T>? itemBuilder, ErrorBuilder? errorBuilder, LoadingBuilder? loadingBuilder, bool showSelectedItems = false, DropdownSearchPopupItemEnabled<T>? disabledItemFn, bool isFilterOnline = false, PopupBuilder? containerBuilder, BoxConstraints constraints = const BoxConstraints(maxHeight: 350), bool interceptCallBacks = false, OnItemAdded<T>? onItemAdded, OnItemRemoved<T>? onItemRemoved, DropdownSearchPopupItemBuilder<T>? selectionWidget, ValidationMultiSelectionBuilder<T>? validationWidgetBuilder})
const
PopupPropsMultiSelection.modalBottomSheet({Widget? title, bool isFilterOnline = false, FlexFit fit = FlexFit.tight, DropdownSearchPopupItemBuilder<T>? itemBuilder, DropdownSearchPopupItemEnabled<T>? disabledItemFn, TextStyle? textStyle, bool showSearchBox = false, TextFieldProps searchFieldProps = const TextFieldProps(), FavoriteItemProps<T> favoriteItemProps = const FavoriteItemProps(), ModalBottomSheetProps modalBottomSheetProps = const ModalBottomSheetProps(), ScrollbarProps scrollbarProps = const ScrollbarProps(), ListViewProps listViewProps = const ListViewProps(), Duration? searchDelay, VoidCallback? onDismissed, EmptyBuilder? emptyBuilder, ErrorBuilder? errorBuilder, LoadingBuilder? loadingBuilder, bool showSelectedItems = false, PopupBuilder? containerBuilder, BoxConstraints constraints = const BoxConstraints(maxHeight: 500), bool interceptCallBacks = false, OnItemAdded<T>? onItemAdded, OnItemRemoved<T>? onItemRemoved, DropdownSearchPopupItemBuilder<T>? selectionWidget, ValidationMultiSelectionBuilder<T>? validationWidgetBuilder})
const

Properties

bottomSheetProps BottomSheetProps
BottomSheet mode props
final, inherited
constraints BoxConstraints
popup constraints
final, inherited
containerBuilder PopupBuilder?
used as container to the popup widget this could be very useful if you want to add extra actions/widget to the popup the popup widget is considered as a child
final, inherited
dialogProps DialogProps
dialog mode props
final, inherited
disabledItemFn DropdownSearchPopupItemEnabled<T>?
defines if an item of the popup is enabled or not, if the item is disabled, it cannot be clicked
final, inherited
emptyBuilder EmptyBuilder?
custom layout for empty results
final, inherited
errorBuilder ErrorBuilder?
custom layout for error
final, inherited
favoriteItemProps FavoriteItemProps<T>
favorite items props
final, inherited
fit FlexFit
fit height depending on nb of result or keep height fix.
final, inherited
hashCode int
The hash code for this object.
read-only, inherited
interceptCallBacks bool
if true , the callbacks (onTap, onLongClick...) will be handled by the user
final, inherited
isFilterOnline bool
true if the filter on items is applied onlie (via API/DB/...)
final, inherited
itemBuilder DropdownSearchPopupItemBuilder<T>?
final, inherited
listViewProps ListViewProps
props for selection list view
final, inherited
loadingBuilder LoadingBuilder?
custom layout for loading items
final, inherited
Menu mode props
final, inherited
modalBottomSheetProps ModalBottomSheetProps
ModalBottomSheet mode props
final, inherited
mode Mode
popup mode
final, inherited
onDismissed VoidCallback?
called when popup is dismissed
final, inherited
onItemAdded OnItemAdded<T>?
called when a new item added on Multi selection mode
final
onItemRemoved OnItemRemoved<T>?
called when a new item added on Multi selection mode
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scrollbarProps ScrollbarProps
scrollbar properties
final, inherited
searchDelay Duration?
callback executed before applying value change delay before searching, change it to Duration(milliseconds: 0) if you do not use online search
final, inherited
searchFieldProps TextFieldProps
object that passes all props to search field
final, inherited
selectionWidget DropdownSearchPopupItemBuilder<T>?
widget used to show checked items in multiSelection mode
final
showSearchBox bool
final, inherited
showSelectedItems bool
select the selected item in the menu/dialog/bottomSheet of items
final, inherited
textStyle TextStyle?
final, inherited
title Widget?
final, inherited
validationWidgetBuilder ValidationMultiSelectionBuilder<T>?
widget used to validate items in multiSelection mode
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited