SearchBarColors



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

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

Summary

Public constructors

SearchBarColors(containerColor: Color, dividerColor: Color)
android
SearchBarColors(
    containerColor: Color,
    dividerColor: Color,
    inputFieldColors: TextFieldColors
)

This function is deprecated. Search bars now take the input field as a parameter.

android

Public functions

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

Public properties

Color
android
Color
android
TextFieldColors

This property is deprecated. Search bars now take the input field as a parameter.

android

Public constructors

SearchBarColors

SearchBarColors(containerColor: Color, dividerColor: Color)

SearchBarColors

SearchBarColors(
    containerColor: Color,
    dividerColor: Color,
    inputFieldColors: TextFieldColors
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

containerColor

val containerColorColor

dividerColor

val dividerColorColor

inputFieldColors

val inputFieldColorsTextFieldColors