Skip to main content

EventSearch class

This class returns a list of the events which match the search query.

Inheritance

Constructors

EventSearch ({required List<Event> eventList, required ExploreEventsViewModel exploreEventsViewModel})

Properties

eventListList<Event>

final

exploreEventsViewModelExploreEventsViewModel

read / write

hashCodeint

The hash code for this object.
read-onlyinherited

keyboardTypeTextInputType?

The type of action button to use for the keyboard.
finalinherited

queryString

The current query string shown in the AppBar.
read / writeinherited

runtimeTypeType

A representation of the runtime type of the object.
read-onlyinherited

searchFieldDecorationThemeInputDecorationTheme?

The InputDecorationTheme used to configure the search field's visuals.
finalinherited

searchFieldLabelString?

The hint text that is shown in the search field when it is empty.
finalinherited

searchFieldStyleTextStyle?

The style of the searchFieldLabel.
finalinherited

textInputActionTextInputAction

The text input action configuring the soft keyboard to a particular action button.
finalinherited

transitionAnimationAnimation<double>

Animation triggered when the search pages fades in or out.
read-onlyinherited

Methods

appBarTheme(BuildContext context) ThemeData

The theme used to configure the search page.
inherited

buildActions(BuildContext context) List<Widget>

Widgets to display after the search query in the AppBar.
override

buildBottom(BuildContext context) PreferredSizeWidget?

Widget to display across the bottom of the AppBar.
inherited

buildLeading(BuildContext context) Widget

A widget to display before the current query in the AppBar.
override

buildResults(BuildContext context) Widget

The results shown after the user submits a search from the search page.
override

buildSuggestions(BuildContext context) Widget

Suggestions shown in the body of the search page while the user types a query into the search field.
override

buildSuggestionsSucess(List<Event> suggestions) Widget
close(BuildContext context, Event result) void

Closes the search page and returns to the underlying route.
inherited

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

showResults(BuildContext context) void

Transition from the suggestions returned by buildSuggestions to the query results returned by buildResults.
inherited

showSuggestions(BuildContext context) void

Transition from showing the results returned by buildResults to showing the suggestions returned by buildSuggestions.
inherited

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited