SearchBarComponentData class
Carries the data that might be used in SearchBarComponent.builder.
Constructors
- SearchBarComponentData({required BuildContext context, required Widget searchField, required bool? isSearching, required Widget searchingIndicator, 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
- isSearching → bool?
-
Tells if the ListViewMenu is currently in the process of searching.
This variable can be used to make decision related to searchingIndicator,
like whether to show it or not.
final
-
These are the flex values for
Flexible
orExpanded
if the layout of returned Widget uses Flex to arrange the two Widgets searchField and searchingIndicator.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchField → Widget
-
The search field built by a SearchBarComponent.builder.
final
- searchingIndicator → Widget
-
The searching indicator built by a SearchingIndicatorComponent.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