Source set: Common
public class SearchBarColors(
public val containerColor: Color,
public val dividerColor: Color,
public val inputFieldColors: TextFieldColors,
)
Represents the colors used by a search bar.
See SearchBarDefaults.colors for the default implementation that follows Material specifications.
Functions
copy
Source set: Common
public fun copy(
containerColor: Color = this.containerColor,
dividerColor: Color = this.dividerColor,
inputFieldColors: TextFieldColors = this.inputFieldColors,
): SearchBarColors
Returns a copy of this SearchBarColors, optionally overriding some of the values.
equals
Source set: Common
override fun equals(other: Any?): Boolean
hashCode
Source set: Common
override fun hashCode(): Int