SearchableListController<T> class
Methods
-
addListener(VoidCallback listener)
→ void
-
Register a closure to be called when the object changes.
inherited
-
attach(void callback(String query))
→ void
-
Internal: called by the list's state. Not for app code.
-
clear()
→ void
-
Clears the filter. Does nothing if the query is already empty.
-
detach(void callback(String query))
→ void
-
Internal: called by the list's state. Not for app code.
-
dispose()
→ void
-
Discards any resources used by the object.
inherited
-
filter(String query)
→ void
-
Filters the attached list with
query.
Does nothing if no list is attached yet.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
Call all the registered listeners.
inherited
-
removeListener(VoidCallback listener)
→ void
-
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
scrollTo(double offset, {bool animate = false, Curve curve = Curves.easeInOut})
→ void
-
-
scrollToTop({bool animate = false, Curve curve = Curves.easeInOut})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(SearchableListValue<T> newValue)
→ void
-
Internal: called by the list's state to publish a new snapshot.
-
updateSearchStrategy(SearchStrategy searchStrategy)
→ void
-