TextButtonShapes

Class

Android
public class TextButtonShapes(public val shape: Shape, public val pressedShape: Shape = shape)

Represents the shapes used for TextButton in various states.

If pressedShape is non null the shape will be animated on press.

Parameters

shapethe shape of the text button when enabled
pressedShapethe shape of the text button when pressed

Functions

public fun copy(
        shape: Shape? = this.shape,
        pressedShape: Shape? = this.pressedShape,
    ): TextButtonShapes