Class

IconButtonShapes

The shapes that will be used in icon buttons.

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

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

Functions

copy

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

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
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: