SearchBarColors


Represents the colors used by a search bar.

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`

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

Public functions

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

Returns a copy of this SearchBarColors, optionally overriding some of the values.

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

Public constructors

SearchBarColors

SearchBarColors(containerColor: Color, dividerColor: Color)

SearchBarColors

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

Public functions

copy

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

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

hashCode

open fun hashCode(): Int

Public properties

containerColor

val containerColorColor

dividerColor

val dividerColorColor

inputFieldColors

val inputFieldColorsTextFieldColors