MyoroMultiMenuViewModel<T> class
final
View model of MyoroMultiMenu.
- Inheritance
-
- Object
- MyoroMenuViewModel<
T, MyoroMultiMenuConfiguration< T> > - MyoroMultiMenuViewModel
Constructors
-
MyoroMultiMenuViewModel.new(MyoroMultiMenuConfiguration<
T> configuration)
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, MyoroMultiMenuConfiguration< T> > -
_state
getter.no setterinherited
Methods
-
dispose(
) → void -
Dispose function.
inherited
-
fetch(
) → void -
Fetches the items of the
MyoroMenu
.inherited -
fetchExtra(
) → void -
Fetches extra items (MyoroMenuConfiguration.onEndReachedRequest).
inherited
-
jumpToBottomPreviousPosition(
) → void -
Jump to the last position of the list before
calling MyoroMenuConfiguration.onEndReachedRequest.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scrollControllerListener(
) → void -
Listener of
_scrollController
.inherited -
search(
String query) → void -
Searches in
_items
givenquery
.inherited -
toggleItem(
T item) → void -
Selects an item.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited