AppBarWithSearchColors

@Immutable
class AppBarWithSearchColors(val searchBarColors: SearchBarColors, val scrolledSearchBarContainerColor: Color, val appBarContainerColor: Color, val scrolledAppBarContainerColor: Color, val appBarNavigationIconColor: Color, 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

Constructors

Link copied to clipboard
constructor(searchBarColors: SearchBarColors, scrolledSearchBarContainerColor: Color, appBarContainerColor: Color, scrolledAppBarContainerColor: Color, appBarNavigationIconColor: Color, appBarActionIconColor: Color)
constructor(searchBarColors: SearchBarColors, appBarContainerColor: Color, appBarNavigationIconColor: Color, appBarActionIconColor: Color)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int