MultiSelectActions<T> class
Contains common actions that are used by different multi select classes.
- Implementers
Constructors
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< T> initiallySelectedValues) → void - Pops the dialog from the navigation stack and returns the initially selected values.
-
onConfirmTap(
BuildContext ctx, List< T> selectedValues, dynamic onConfirm(List<T> )?) → void - Pops the dialog from the navigation stack and returns the selected values. Calls the onConfirm function if one was provided.
-
onItemCheckedChange(
List< T> selectedValues, T itemValue, bool checked) → List<T> -
onSearchTap(
bool showSearch) → bool - Toggles the search field.
-
separateSelected(
List< MultiSelectItem< list) → List<T> >MultiSelectItem< T> > -
toString(
) → String -
A string representation of this object.
inherited
-
updateSearchQuery(
String? val, List< MultiSelectItem< allItems) → List<T> >MultiSelectItem< T> > - 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