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

Dp

Default size for increase and decrease icons.

Public functions

colors

Added in 1.0.0-alpha30
@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

IconSize

Added in 1.0.0-alpha30
val IconSizeDp

Default size for increase and decrease icons.