MyoroMultiMenuConfiguration<T> class

Configuration of a MyoroMultiMenu.

Inheritance
Annotations

Constructors

MyoroMultiMenuConfiguration.new({required MyoroMenuRequest<T> request, MyoroMenuOnEndReachedRequest<T>? onEndReachedRequest, MyoroMenuSearchCallback<T>? searchCallback, required MyoroMenuItemBuilder<T> itemBuilder, Set<T> selectedItems = const {}, MyoroMultiMenuOnChanged<T>? onChanged})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
itemBuilder MyoroMenuItemBuilder<T>
Menu item builder.
finalinherited
onChanged MyoroMultiMenuOnChanged<T>?
Callback executed when the selected item is changed.
final
onEndReachedRequest MyoroMenuOnEndReachedRequest<T>?
Request that executes when the bottom of the menu is reached.
finalinherited
request MyoroMenuRequest<T>
Request that returns the MyoroPagination of the MyoroMenu.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchCallback MyoroMenuSearchCallback<T>?
Search callback that:
finalinherited
selectedItems Set<T>
Initially selected items.
final
self MyoroMultiMenuConfiguration
no setterinherited

Methods

copyWith({MyoroMenuRequest<T>? request, bool onEndReachedRequestProvided = true, MyoroMenuSearchCallback<T>? searchCallback, bool searchCallbackProvided = true, MyoroMenuItemBuilder<T>? itemBuilder, Set<T>? selectedItems, MyoroMultiMenuOnChanged<T>? onChanged, bool onChangedProvided = true}) MyoroMultiMenuConfiguration<T>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited