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)

This function is deprecated. Use overload that takes `inputFieldColors

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

Public functions

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

Public properties

Color
android
Color
android
TextFieldColors
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