StepperDefaults

Contains default values used by Stepper.

Properties

Link copied to clipboard

The diameter of each stepper button (COUI stepper_button_size).

Link copied to clipboard

The visual extent of the +/- glyph inside each button (COUI ic_minus_sign / ic_plus_sign span 8.4..23.6dp).

Link copied to clipboard

The stroke width of the +/- glyph (COUI ic_minus_sign / ic_plus_sign strokeWidth).

Link copied to clipboard

The minimum width reserved for the value indicator (COUI indicator minWidth).

Link copied to clipboard
val Spacing: Dp

The spacing between buttons and the indicator (COUI indicator horizontal margin).

Functions

Link copied to clipboard
fun stepperColors(buttonColor: Color = COUITheme.colorScheme.secondaryContainer, contentColor: Color = COUITheme.colorScheme.onSurface, disabledContentColor: Color = COUITheme.colorScheme.disabledOnSurface): StepperColors

The default colors for the Stepper.

Link copied to clipboard

The default text style of the value indicator (COUIStepperViewTextDefStyle: 18sp, sans-serif-medium).