AppBarWithSearchColors


Represents the colors used by an AppBarWithSearch.

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

Summary

Public constructors

AppBarWithSearchColors(
    searchBarColors: SearchBarColors,
    appBarContainerColor: Color,
    appBarNavigationIconColor: Color,
    appBarActionIconColor: Color
)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Color

the color used for the app bar action icons

Cmn
Color

the app bar container color.

Cmn
Color

the color used for the app bar navigation icon

Cmn
SearchBarColors

the color used for the SearchBar of this app bar.

Cmn

Public constructors

AppBarWithSearchColors

AppBarWithSearchColors(
    searchBarColors: SearchBarColors,
    appBarContainerColor: Color,
    appBarNavigationIconColor: Color,
    appBarActionIconColor: Color
)
Parameters
searchBarColors: SearchBarColors

the color used for the SearchBar of this app bar.

appBarContainerColor: Color

the app bar container color. Use Color.Transparent to have no color.

appBarNavigationIconColor: Color

the color used for the app bar navigation icon

appBarActionIconColor: Color

the color used for the app bar action icons

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

appBarActionIconColor

val appBarActionIconColorColor

the color used for the app bar action icons

appBarContainerColor

val appBarContainerColorColor

the app bar container color. Use Color.Transparent to have no color.

appBarNavigationIconColor

val appBarNavigationIconColorColor

the color used for the app bar navigation icon

searchBarColors

val searchBarColorsSearchBarColors

the color used for the SearchBar of this app bar.