MultipleSearchController<T> class
This is the controller for the MultipleSearchSelection.
Use this controller to :
- getAllItems
- getPickedItems
- searchItems
- clearSearchField
- clearAllPickedItems
- selectAllItems
Constructors
- MultipleSearchController({int? minCharsToShowItems})
Properties
- clearAllPickedItemsCallback ↔ (dynamic Function()?)
-
getter/setter pair
- clearSearchFieldCallback ↔ (dynamic Function()?)
-
getter/setter pair
-
getAllItemsCallback
↔ (List<
T> Function()?) -
getter/setter pair
-
getPickedItemsCallback
↔ (List<
T> Function()?) -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- minCharsToShowItems ↔ int?
-
The minimum number of characters to type before showing items.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchItemsCallback
↔ (List<
T> Function(String)?) -
getter/setter pair
- selectAllItemsCallback ↔ (dynamic Function()?)
-
getter/setter pair
Methods
-
clearAllPickedItems(
) → void - Clear all picked items.
-
clearSearchField(
) → void - Clear the search field.
-
getAllItems(
) → List< T> - Returns all items in the list.
-
getPickedItems(
) → List< T> - Returns the picked items.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchItems(
String term) → List< T> - Search all items in the list.
-
selectAllItems(
) → void - Select all items in the list.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited