🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

AppBarWithSearchColors

Represents the colors used by an AppBarWithSearch.

Source set: Common
public class AppBarWithSearchColors(
    public val searchBarColors: SearchBarColors,
    public val scrolledSearchBarContainerColor: Color,
    public val appBarContainerColor: Color,
    public val scrolledAppBarContainerColor: Color,
    public val appBarNavigationIconColor: Color,
    public val appBarActionIconColor: Color,
)

Represents the colors used by an AppBarWithSearch.

See SearchBarDefaults.appBarWithSearchColors for the default implementation that follows Material specifications.

Parameters

searchBarColors the color used for the SearchBar of this app bar.
scrolledSearchBarContainerColor the container color of the search bar when content is scrolled
appBarContainerColor the app bar container color. Use Color.Transparent to have no 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

Functions

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

Content updated: