MenuComponentData class
Carries the data that might be used in MenuComponent.builder.
Constructors
- MenuComponentData({required BuildContext context, required Widget searchBar, required Widget listView, required bool isSearchEnabled, required TickerProvider tickerProvider, required dynamic selectedItem})
Properties
- context → BuildContext
-
BuildContext
passed by SelectionMenu (internally by ListViewMenu).final - hashCode → int
-
The hash code for this object.
no setterinherited
- isSearchEnabled → bool
-
final
- listView → Widget
-
The scrollable list built by a ListViewComponent.builder.
final
-
These are the flex values for
Flexible
orExpanded
if the layout of returned Widget uses Flex to arrange the two Widgets searchBar and listView.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBar → Widget
-
The search bar Widget built by a SearchBarComponent.builder.
final
- selectedItem → dynamic
-
final
- tickerProvider → TickerProvider
-
Must not be null.
final
Methods
-
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