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

IconToggleButtonShapes

The shapes that will be used in toggle buttons.

Source set: Common
public class IconToggleButtonShapes(
    public val shape: Shape,
    public val pressedShape: Shape = shape,
    public val checkedShape: Shape = shape,
)

The shapes that will be used in toggle buttons. Toggle button will morph between these three shapes depending on the interaction of the toggle button, assuming all of the shapes are CornerBasedShapes.

Functions

copy

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

Returns a copy of this IconButtonShapes, 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: