Selectable

class Selectable(val shape: Shape, val focusedShape: Shape = shape, val pressedShape: Shape = shape, val selectedShape: Shape = shape, val disabledShape: Shape = shape, val focusedSelectedShape: Shape = shape, val focusedDisabledShape: Shape = disabledShape, val pressedSelectedShape: Shape = shape, val selectedDisabledShape: Shape = disabledShape, val focusedSelectedDisabledShape: Shape = disabledShape) : PlatformSurfaceShape(source)

Constructors

Link copied to clipboard
constructor(shape: Shape, focusedShape: Shape = shape, pressedShape: Shape = shape, selectedShape: Shape = shape, disabledShape: Shape = shape, focusedSelectedShape: Shape = shape, focusedDisabledShape: Shape = disabledShape, pressedSelectedShape: Shape = shape, selectedDisabledShape: Shape = disabledShape, focusedSelectedDisabledShape: Shape = disabledShape)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun shape(enabled: Boolean, selected: Boolean, interactionSource: MutableInteractionSource): Shape
fun shape(enabled: Boolean, focused: Boolean, pressed: Boolean, selected: Boolean): Shape