androidx.compose.material3

AppBarWithSearchColorsSince 1.10Experimental

Class

No hand-written docs yet.

Represents the colors used by an AppBarWithSearch.

class AppBarWithSearchColors(
    searchBarColors: SearchBarColors,
    scrolledSearchBarContainerColor: Color,
    appBarContainerColor: Color,
    scrolledAppBarContainerColor: Color,
    appBarNavigationIconColor: Color,
    appBarActionIconColor: Color,
)

How to get one

Create it

Ready-made values and functions that return it

Used by

Parameters that take a AppBarWithSearchColors.

Properties

searchBarColors

val searchBarColors: SearchBarColors

scrolledSearchBarContainerColor

val scrolledSearchBarContainerColor: Color

appBarContainerColor

val appBarContainerColor: Color

scrolledAppBarContainerColor

val scrolledAppBarContainerColor: Color

appBarNavigationIconColor

val appBarNavigationIconColor: Color

appBarActionIconColor

val appBarActionIconColor: Color
Library docs

Represents the colors used by an AppBarWithSearch.

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