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

shape the shape of the text button when enabled
pressedShape the shape of the text button when pressed

Functions

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