AppBarWithSearchColors
Class
Common
@ExperimentalMaterial3Api
class AppBarWithSearchColors(
val searchBarColors: SearchBarColors,
val appBarContainerColor: 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. |
appBarContainerColor | the app bar container color. Use Color.Transparent to have no color. |
appBarNavigationIconColor | the color used for the app bar navigation icon |
appBarActionIconColor | the color used for the app bar action icons |