SwitchDefaults

Contains the default values used by Switch

Functions

Link copied to clipboard
@Composable
fun switchColors(): SwitchColors
@Composable
fun switchColors(checkedThumbColor: Color = Color.Unspecified, checkedTrackColor: Color = Color.Unspecified, uncheckedThumbColor: Color = Color.Unspecified, uncheckedTrackColor: Color = Color.Unspecified): SwitchColors

Creates a SwitchColors instance with the default colors.