styles

fun styles(topPadding: Dp = 0.dp, bottomPadding: Dp = 0.dp, startPaddingOnPhone: Dp = 0.dp, endPaddingOnPhone: Dp = 0.dp, startPaddingOnTablet: Dp = 0.dp, endPaddingOnTablet: Dp = 0.dp, topSpaceHeight: Dp = 4.dp, bottomSpaceHeight: Dp = 4.dp, labelHeight: Dp = 24.dp, labelPaddingValues: PaddingValues = PaddingValues( start = getHorizontalPaddingBasedOnWindowWidthSize(), end = getHorizontalPaddingBasedOnWindowWidthSize() ), helperTextFieldHeight: Dp = 20.dp, helperTextPaddingValues: PaddingValues = PaddingValues( start = getHorizontalPaddingBasedOnWindowWidthSize(), end = getHorizontalPaddingBasedOnWindowWidthSize() ), innerTextFieldHeight: Dp = 56.dp, innerTextFieldCornerRadius: Dp = 8.dp, innerTextFieldPaddingValues: PaddingValues = PaddingValues( start = getHorizontalPaddingBasedOnWindowWidthSize(), end = getHorizontalPaddingBasedOnWindowWidthSize() ), innerTextFieldBorderWidth: Dp = 1.dp, focusedInnerTextFieldBorderWidth: Dp = 2.dp, inactiveInnerTextFieldBorderWidth: Dp = 0.dp, trailingIconHeight: Dp = 24.dp, trailingIconWidth: Dp = 24.dp, trailingIconTouchHeight: Dp = 48.dp, trailingIconTouchWidth: Dp = 48.dp, leadingIconHeight: Dp = 24.dp, leadingIconWidth: Dp = 24.dp, leadingIconTouchHeight: Dp = 48.dp, leadingIconTouchWidth: Dp = 48.dp, inlineNoticeStyles: InlineNoticeStyles = InlineNoticeDefaults.styles()): FioriStepperStyles

Creates a FioriStepperStyles that represents the different style like height, width and padding used in parts of the stepper in different states.

Parameters

topPadding

fiori stepper container top padding

bottomPadding

fiori stepper container bottom padding

startPaddingOnPhone

fiori stepper container start padding for phone device

endPaddingOnPhone

fiori stepper container end padding for phone device

startPaddingOnTablet

fiori stepper container start padding for tablet

endPaddingOnTablet

fiori stepper container end padding for tablet

topSpaceHeight

the height of space above label

bottomSpaceHeight

the height of space below the stepper or helper text

labelHeight

label height

labelPaddingValues

paddings of the label

innerTextFieldHeight

stepper height

innerTextFieldCornerRadius

stepper corner radius

innerTextFieldPaddingValues

paddings of the inner stepper

innerTextFieldBorderWidth

the border width of the inner stepper

focusedInnerTextFieldBorderWidth

the border width of the inner stepper when it get focus

inactiveInnerTextFieldBorderWidth

the border width of the inner stepper when it was in disable and readonly state

trailingIconHeight

trailing icon height

trailingIconWidth

trailing icon width

trailingIconTouchHeight

trailing icon touch height. It shouldn't less than trailingIconHeight and 48.dp.

trailingIconTouchWidth

trailing icon touch width. It shouldn't less than trailingIconWidth and 48.dp.

leadingIconHeight

leading icon height

leadingIconWidth

leading icon width

leadingIconTouchHeight

leading icon touch height. It shouldn't less than leadingIconHeight and 48.dp.

leadingIconTouchWidth

leading icon touch width. It shouldn't less than leadingIconWidth and 48.dp.

inlineNoticeStyles

the styles used in the inline notice