SearchBarDefaults
object SearchBarDefaults
Defaults used in SearchBar and DockedSearchBar.
Properties
Link copied to clipboard
Default shape for a DockedSearchBar.
Link copied to clipboard
Default shape for a SearchBar in the expanded state.
Link copied to clipboard
Default height for a search bar's input field, or a search bar in the unexpanded state.
Link copied to clipboard
Default shape for a search bar's input field, or a search bar in the unexpanded state.
Link copied to clipboard
Default shadow elevation for a search bar.
Link copied to clipboard
Default tonal elevation for a search bar.
Link copied to clipboard
Default window insets for a SearchBar.
Functions
Link copied to clipboard
@Composable
Creates a SearchBarColors that represents the different colors used in parts of the search bar in different states.
@Composable
Link copied to clipboard
@Composable
A text field to input a query in a search bar
Link copied to clipboard
@Composable
Creates a TextFieldColors that represents the different colors used in the search bar input field in different states.