🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

ButtonShapes

The shapes that will be used in buttons.

Source set: Common
public class ButtonShapes(public val shape: Shape, public 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.

Functions

copy

Source set: Common
public fun copy(
        shape: Shape? = this.shape,
        pressedShape: Shape? = this.pressedShape,
    ): ButtonShapes

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

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

Content updated: