appBarWithSearchColors

@Composable
fun appBarWithSearchColors(searchBarColors: SearchBarColors = colors(), scrolledSearchBarContainerColor: Color = ColorSchemeKeyTokens.SurfaceContainerHighest.value, appBarContainerColor: Color = AppBarTokens.ContainerColor.value, scrolledAppBarContainerColor: Color = AppBarTokens.OnScrollContainerColor.value, appBarNavigationIconColor: Color = AppBarTokens.LeadingIconColor.value, appBarActionIconColor: Color = AppBarTokens.TrailingIconColor.value): AppBarWithSearchColors

Creates an AppBarWithSearchColors that represents the different colors used in parts of the AppBarWithSearch.

Parameters

searchBarColors

the search bar colors

scrolledSearchBarContainerColor

the container color of the search bar when content is scrolled

appBarContainerColor

the app bar container color

scrolledAppBarContainerColor

the app bar container color when content is scrolled

appBarNavigationIconColor

the color used for the app bar navigation icon

appBarActionIconColor

the color used for the app bar action icons