object SwitchDefaults
colors
()
|
Creates a SwitchColors that represents the different colors used in a .SpatialSwitch in different states.
Signature
fun colors(): SwitchColors Returns |
colors
(
checkedThumbColor
, checkedTrackColor
, checkedBorderColor
, checkedIconColor
, uncheckedThumbColor
, uncheckedTrackColor
, uncheckedBorderColor
, uncheckedIconColor
, disabledCheckedThumbColor
, disabledCheckedTrackColor
, disabledCheckedBorderColor
, disabledCheckedIconColor
, disabledUncheckedThumbColor
, disabledUncheckedTrackColor
, disabledUncheckedBorderColor
, disabledUncheckedIconColor
)
|
Creates a SwitchColors that represents the different colors used in a .SpatialSwitch in different states.
Signature
fun colors(checkedThumbColor: Color = Color.Unspecified, checkedTrackColor: Color = Color.Unspecified, checkedBorderColor: Color = Color.Unspecified, checkedIconColor: Color = Color.Unspecified, uncheckedThumbColor: Color = Color.Unspecified, uncheckedTrackColor: Color = Color.Unspecified, uncheckedBorderColor: Color = Color.Unspecified, uncheckedIconColor: Color = Color.Unspecified, disabledCheckedThumbColor: Color = Color.Unspecified, disabledCheckedTrackColor: Color = Color.Unspecified, disabledCheckedBorderColor: Color = Color.Unspecified, disabledCheckedIconColor: Color = Color.Unspecified, disabledUncheckedThumbColor: Color = Color.Unspecified, disabledUncheckedTrackColor: Color = Color.Unspecified, disabledUncheckedBorderColor: Color = Color.Unspecified, disabledUncheckedIconColor: Color = Color.Unspecified): SwitchColors Parameters
checkedThumbColor:
Color
checkedTrackColor:
Color
checkedBorderColor:
Color
checkedIconColor:
Color
uncheckedThumbColor:
Color
uncheckedTrackColor:
Color
uncheckedBorderColor:
Color
uncheckedIconColor:
Color
disabledCheckedThumbColor:
Color
disabledCheckedTrackColor:
Color
disabledCheckedBorderColor:
Color
disabledCheckedIconColor:
Color
disabledUncheckedThumbColor:
Color
disabledUncheckedTrackColor:
Color
disabledUncheckedBorderColor:
Color
disabledUncheckedIconColor:
Color
Returns |