object StepperDefaults


Defaults used by Stepper.

Summary

Public functions

StepperColors

Creates a StepperColors that represents the default colors used in a Stepper.

StepperColors
@Composable
colors(
    contentColor: Color,
    buttonContainerColor: Color,
    buttonIconColor: Color,
    disabledContentColor: Color,
    disabledButtonContainerColor: Color,
    disabledButtonIconColor: Color
)

Creates a StepperColors that represents the default colors used in a Stepper.

Public properties

@Composable () -> Unit

Default icon for the decrease button.

Dp

Default size for increase and decrease icons.

@Composable () -> Unit

Default icon for the increase button.

Public functions

colors

Added in 1.0.0-alpha29
@Composable
fun colors(): StepperColors

Creates a StepperColors that represents the default colors used in a Stepper.

colors

@Composable
fun colors(
    contentColor: Color = Color.Unspecified,
    buttonContainerColor: Color = Color.Unspecified,
    buttonIconColor: Color = Color.Unspecified,
    disabledContentColor: Color = Color.Unspecified,
    disabledButtonContainerColor: Color = Color.Unspecified,
    disabledButtonIconColor: Color = Color.Unspecified
): StepperColors

Creates a StepperColors that represents the default colors used in a Stepper.

Parameters
contentColor: Color = Color.Unspecified

the content color for this Stepper.

buttonContainerColor: Color = Color.Unspecified

the button container color for this Stepper.

buttonIconColor: Color = Color.Unspecified

the button icon color for this Stepper.

disabledContentColor: Color = Color.Unspecified

the disabled content color for this Stepper.

disabledButtonContainerColor: Color = Color.Unspecified

the disabled button container color for this Stepper.

disabledButtonIconColor: Color = Color.Unspecified

the disabled button icon color for this Stepper.

Public properties

DecreaseIcon

Added in 1.0.0-alpha29
val DecreaseIcon: @Composable () -> Unit

Default icon for the decrease button.

IconSize

Added in 1.0.0-alpha29
val IconSizeDp

Default size for increase and decrease icons.

IncreaseIcon

Added in 1.0.0-alpha29
val IncreaseIcon: @Composable () -> Unit

Default icon for the increase button.