ContentAlpha
object ContentAlpha
kotlin.Any | |
↳ | androidx.compose.material.ContentAlpha |
Default alpha levels used by Material components.
See AmbientContentAlpha.
Summary
Properties | |
---|---|
Float |
A low level of content alpha used to represent disabled components, such as text in a disabled Button. |
Float |
A high level of content alpha, used to represent high emphasis text such as input text in a selected TextField. |
Float |
A medium level of content alpha, used to represent medium emphasis text such as placeholder text in a TextField. |
Properties
disabled
val disabled: Float
A low level of content alpha used to represent disabled components, such as text in a disabled Button.
high
val high: Float
A high level of content alpha, used to represent high emphasis text such as input text in a selected TextField.