ExpandedFullScreenSearchBar
ExpandedFullScreenSearchBar represents a search bar that is currently expanding or in the expanded state, showing search results. This component is displayed in a new full-screen dialog. If this expansion behavior is undesirable, for example on medium or large screens such as tablets, ExpandedDockedSearchBar can be used instead.
Parameters
the state of the search bar. This state should also be passed to the inputField and the collapsed search bar.
the input field of this search bar that allows entering a query, typically a SearchBarDefaults.InputField.
the Modifier to be applied to this expanded search bar.
the shape of the search bar when it is collapsed. When fully expanded, the shape will always be SearchBarDefaults.fullScreenShape.
SearchBarColors that will be used to resolve the colors used for this search bar in different states. See SearchBarDefaults.colors.
when SearchBarColors.containerColor is ColorScheme.surface, a translucent primary color overlay is applied on top of the container. A higher tonal elevation value will result in a darker color in light theme and lighter color in dark theme. See also: Surface.
the elevation for the shadow below this search bar.
the window insets that this search bar will respect when expanded.
the platform-specific properties to configure the dialog's behavior. Any properties which limit the dialog's size (e.g. DialogProperties.usePlatformDefaultWidth) are ignored.
the content of this search bar to display search results below the inputField.