SearchBarColors
-
Cmn
@ExperimentalMaterial3Api
class SearchBarColors
Represents the colors used by a search bar.
See SearchBarDefaults.colors for the default implementation that follows Material specifications.
Summary
Public constructors |
|
|---|---|
This function is deprecated. Use overload that takes `inputFieldColors` |
Cmn
|
SearchBarColors( |
Cmn
|
Public functions |
||
|---|---|---|
SearchBarColors |
copy(Returns a copy of this SearchBarColors, optionally overriding some of the values. |
Cmn
|
open operator Boolean |
Cmn
|
|
open Int |
hashCode() |
Cmn
|
Public properties |
||
|---|---|---|
Color |
Cmn
|
|
Color |
Cmn
|
|
TextFieldColors |
Cmn
|
Public constructors
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.