components/search/m3e_search library

Classes

M3ESearchAnchor
Manages a search view route opened from a search bar or custom anchor.
M3ESearchAnchorHandle
Handle implemented by M3ESearchAnchor for M3ESearchController.
M3ESearchBar
A Material 3 Expressive search bar (contained style).
M3ESearchBarInput
Shared editable search field used by M3ESearchBar and the search view header.
M3ESearchBarTheme
Theme values for M3ESearchBar.
M3ESearchConstants
Shared constants for the M3E search bar and search view.
M3ESearchController
Controls a search view opened by M3ESearchAnchor.
M3ESearchViewTheme
Theme values for M3ESearchAnchor search views.
M3ESliverSearchBar
Places a search bar at the top of a CustomScrollView.

Enums

M3ESearchBarScrollBehavior
How a search bar reacts to its scrolling content.
M3ESearchViewStyle
Visual style of focused search.

Functions

m3eDefaultSearchContextMenuBuilder(BuildContext context, EditableTextState editableTextState) → Widget
m3eDefaultSearchContextMenuBuilder.
m3eSearchResultsAnnouncement(int count) → String
Default screen reader text when suggestions or results change.

Typedefs

M3ESearchAnchorChildBuilder = Widget Function(BuildContext context, M3ESearchController controller)
Signature for building the search anchor child.
M3ESearchAnnouncementBuilder = String Function(int count)
Signature for the screen reader text sent when results change.
M3ESearchSuggestionsBuilder = FutureOr<Iterable<Widget>> Function(BuildContext context, M3ESearchController controller)
Signature for building search suggestions from the current query.
M3ESearchViewBuilder = Widget Function(Iterable<Widget> suggestions)
Signature for laying out suggestion widgets in the search view.