SearchBarColors

Class

Common
@ExperimentalMaterial3Api
class SearchBarColors(
    val containerColor: Color,
    val dividerColor: Color,
    val inputFieldColors: TextFieldColors,
)

Represents the colors used by a search bar in different states.

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

Secondary Constructors

constructor(
    containerColor: Color,
    dividerColor: Color,
) : this(containerColor, dividerColor, UnspecifiedTextFieldColors)