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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: