MultiSelectActions<V> class

Contains common actions that are used by different multi select classes.

Implementers

Constructors

MultiSelectActions()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCancelTap(BuildContext ctx, List<V> initiallySelectedValues) → void
Pops the dialog from the navigation stack and returns the initially selected values.
onConfirmTap(BuildContext ctx, List<V> selectedValues, dynamic onConfirm(List<V>?)) → void
Pops the dialog from the navigation stack and returns the selected values. Calls the onConfirm function if one was provided.
onItemCheckedChange(List<V> selectedValues, V itemValue, bool checked) List<V>
onSearchTap(bool showSearch) bool
Toggles the search field.
toString() String
A string representation of this object.
inherited
updateSearchQuery(String? val, List<MultiSelectItem<V>> allItems) List<MultiSelectItem<V>>
Accepts the search query, and the original list of items. If the search query is valid, return a filtered list, otherwise return the original list.

Operators

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