MyoroSingleMenuConfiguration<T> class
Configuration of a MyoroSingleMenu.
- Inheritance
-
- Object
- MyoroMenuConfiguration<
T> - MyoroSingleMenuConfiguration
- Annotations
-
- @myoroModel
Constructors
-
MyoroSingleMenuConfiguration.new({required MyoroMenuRequest<
T> request, MyoroMenuOnEndReachedRequest<T> ? onEndReachedRequest, MyoroMenuSearchCallback<T> ? searchCallback, required MyoroMenuItemBuilder<T> itemBuilder, T? selectedItem, MyoroSingleMenuOnChanged<T> ? onChanged}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
itemBuilder
→ MyoroMenuItemBuilder<
T> -
Menu item builder.
finalinherited
-
onChanged
→ MyoroSingleMenuOnChanged<
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 theMyoroMenu
.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchCallback
→ MyoroMenuSearchCallback<
T> ? -
Search callback that:
finalinherited
- selectedItem → T?
-
Initially selected item.
final
-
self
→ MyoroSingleMenuConfiguration<
T> -
no setterinherited
Methods
-
copyWith(
{T? selectedItem, bool selectedItemProvided = true, MyoroSingleMenuOnChanged< T> ? onChanged, bool onChangedProvided = true, MyoroMenuRequest<T> ? request, MyoroMenuOnEndReachedRequest<T> ? onEndReachedRequest, bool onEndReachedRequestProvided = true, MyoroMenuSearchCallback<T> ? searchCallback, bool searchCallbackProvided = true, MyoroMenuItemBuilder<T> ? itemBuilder}) → MyoroSingleMenuConfiguration<T> -
inherited
-
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