StyleDefaults

Properties

Link copied to clipboard
val None: Style

Functions

Link copied to clipboard
@Stable
fun alpha(alpha: Float = 1.0f, focusedAlpha: Float = alpha, pressedAlpha: Float = alpha, selectedAlpha: Float = alpha, disabledAlpha: Float = 0.6f, focusedDisabledAlpha: Float = disabledAlpha): Alpha
Link copied to clipboard
@Stable
fun borders(border: Border = BorderDefaults.None, focusedBorder: Border = border, pressedBorder: Border = border, selectedBorder: Border = border, disabledBorder: Border = border, focusedDisabledBorder: Border = disabledBorder): Borders
Link copied to clipboard
@Stable
fun colors(backgroundColor: Color = Color.Black, focusedBackgroundColor: Color = backgroundColor, pressedBackgroundColor: Color = backgroundColor, hoveredBackgroundColor: Color = backgroundColor, disabledBackgroundColor: Color = backgroundColor, selectedBackgroundColor: Color = backgroundColor, focusedSelectedBackgroundColor: Color = focusedBackgroundColor, pressedSelectedBackgroundColor: Color = pressedBackgroundColor, hoveredSelectedBackgroundColor: Color = hoveredBackgroundColor, focusedDisabledBackgroundColor: Color = disabledBackgroundColor, pressedDisabledBackgroundColor: Color = disabledBackgroundColor, hoveredDisabledBackgroundColor: Color = disabledBackgroundColor, contentColor: Color = Color.White, focusedContentColor: Color = contentColor, pressedContentColor: Color = contentColor, hoveredContentColor: Color = contentColor, disabledContentColor: Color = contentColor, selectedContentColor: Color = contentColor, focusedSelectedContentColor: Color = focusedContentColor, pressedSelectedContentColor: Color = pressedContentColor, hoveredSelectedContentColor: Color = hoveredContentColor, pressedDisabledContentColor: Color = disabledContentColor, focusedDisabledContentColor: Color = disabledContentColor, hoveredDisabledContentColor: Color = disabledContentColor): Colors
Link copied to clipboard
@Stable
fun scale(scale: Float = 1.0f, focusedScale: Float = scale, pressedScale: Float = scale, selectedScale: Float = scale, disabledScale: Float = scale, focusedDisabledScale: Float = focusedScale): Scale
Link copied to clipboard
@Stable
fun shapes(shape: Shape = RectangleShape, focusedShape: Shape = shape, pressedShape: Shape = shape, disabledShape: Shape = shape, selectedShape: Shape = shape, focusedDisabledShape: Shape = disabledShape): Shapes
Link copied to clipboard
@Stable
fun style(colors: Colors = colors(), borders: Borders = borders(), scale: Scale = scale(), shapes: Shapes = shapes(), alpha: Alpha = alpha()): Style