EventSearch class
<p>This class returns a list of the events which match the search query.</p>
Inheritance
- Object
- SearchDelegate<Event>
- EventSearch
Constructors
EventSearch ({required List<Event> eventList, required ExploreEventsViewModel exploreEventsViewModel})
Properties
eventList → List<Event>
<span class="feature">final</span>
exploreEventsViewModel ↔ ExploreEventsViewModel
<span class="feature">read / write</span>
hashCode → int
The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>
keyboardType → TextInputType?
The type of action button to use for the keyboard.
<span class="feature">final</span><span class="feature">inherited</span>
query ↔ String
The current query string shown in the <a href="https:api.flutter.dev/flutter/material/AppBar-class.html">AppBar</a>.
<span class="feature">read / write</span><span class="feature">inherited</span>
runtimeType → Type
A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>
searchFieldDecorationTheme → InputDecorationTheme?
The <a href="https:api.flutter.dev/flutter/material/InputDecorationTheme-class.html">InputDecorationTheme</a> used to configure the search field's visuals.
<span class="feature">final</span><span class="feature">inherited</span>
searchFieldLabel → String?
The hint text that is shown in the search field when it is empty.
<span class="feature">final</span><span class="feature">inherited</span>
searchFieldStyle → TextStyle?
The style of the <a href="https:api.flutter.dev/flutter/material/SearchDelegate/searchFieldLabel.html">searchFieldLabel</a>.
<span class="feature">final</span><span class="feature">inherited</span>
textInputAction → TextInputAction
The text input action configuring the soft keyboard to a particular action
button.
<span class="feature">final</span><span class="feature">inherited</span>
transitionAnimation → Animation<double>
<a href="https:api.flutter.dev/flutter/animation/Animation-class.html">Animation</a> triggered when the search pages fades in or out.
<span class="feature">read-only</span><span class="feature">inherited</span>
Methods
appBarTheme(BuildContext context) ThemeData
The theme used to configure the search page.
<span class="feature">inherited</span>
buildActions(BuildContext context) List<Widget>
Widgets to display after the search query in the <a href="https:api.flutter.dev/flutter/material/AppBar-class.html">AppBar</a>.
<span class="feature">override</span>
buildBottom(BuildContext context) PreferredSizeWidget?
Widget to display across the bottom of the <a href="https:api.flutter.dev/flutter/material/AppBar-class.html">AppBar</a>.
<span class="feature">inherited</span>
buildLeading(BuildContext context) Widget
A widget to display before the current query in the <a href="https:api.flutter.dev/flutter/material/AppBar-class.html">AppBar</a>.
<span class="feature">override</span>
buildResults(BuildContext context) Widget
The results shown after the user submits a search from the search page.
<span class="feature">override</span>
buildSuggestions(BuildContext context) Widget
Suggestions shown in the body of the search page while the user types a
query into the search field.
<span class="feature">override</span>
buildSuggestionsSucess(List<Event> suggestions) Widget
close(BuildContext context, Event result) void
Closes the search page and returns to the underlying route.
<span class="feature">inherited</span>
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>
showResults(BuildContext context) void
Transition from the suggestions returned by <a href="../widgets_event_search_delegate/EventSearch/buildSuggestions.md">buildSuggestions</a> to the
<a href="https:api.flutter.dev/flutter/material/SearchDelegate/query.html">query</a> results returned by <a href="../widgets_event_search_delegate/EventSearch/buildResults.md">buildResults</a>.
<span class="feature">inherited</span>
showSuggestions(BuildContext context) void
Transition from showing the results returned by <a href="../widgets_event_search_delegate/EventSearch/buildResults.md">buildResults</a> to showing
the suggestions returned by <a href="../widgets_event_search_delegate/EventSearch/buildSuggestions.md">buildSuggestions</a>.
<span class="feature">inherited</span>
toString() String
A string representation of this object.
<span class="feature">inherited</span>
Operators
operator ==(Object other) bool
The equality operator.
<span class="feature">inherited</span>