MyoroMenuViewModel<T, C extends MyoroMenuConfiguration<T> > class
abstract
View model of MyoroMenu
.
- Implementers
Constructors
-
MyoroMenuViewModel.new(C configuration, Set<
T> initiallySelectedItems)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ MyoroMenuState<
T, C> -
_state
getter.no setter
Methods
-
dispose(
) → void - Dispose function.
-
fetch(
) → void -
Fetches the items of the
MyoroMenu
. -
fetchExtra(
) → void - Fetches extra items (MyoroMenuConfiguration.onEndReachedRequest).
-
jumpToBottomPreviousPosition(
) → void - Jump to the last position of the list before calling MyoroMenuConfiguration.onEndReachedRequest.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scrollControllerListener(
) → void -
Listener of
_scrollController
. -
search(
String query) → void -
Searches in
_items
givenquery
. -
toggleItem(
T item) → void - Selects an item.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited