IconButtonShapes

Class

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

Represents the shapes used for IconButton in various states.

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

Parameters

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

Functions

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