ButtonShapes

@Immutable
class ButtonShapes(val shape: Shape, val pressedShape: Shape)

The shapes that will be used in buttons. Button will morph between these shapes depending on the interaction of the button, assuming all of the shapes are CornerBasedShapes.

Constructors

Link copied to clipboard
constructor(shape: Shape, pressedShape: Shape)

Properties

Link copied to clipboard
val pressedShape: Shape

is the pressed shape.

Link copied to clipboard
val shape: Shape

is the active shape.

Functions

Link copied to clipboard
fun copy(shape: Shape? = this.shape, pressedShape: Shape? = this.pressedShape): ButtonShapes

Returns a copy of this ButtonShapes, optionally overriding some of the values.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int