IconButtonShapes

class IconButtonShapes(val shape: Shape, 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.

Constructors

Link copied to clipboard
constructor(shape: Shape, pressedShape: Shape = shape)

Properties

Link copied to clipboard
val pressedShape: Shape

is the pressed shape.

Link copied to clipboard
val shape: Shape

is the unchecked shape.

Functions

Link copied to clipboard
fun copy(shape: Shape? = this.shape, pressedShape: Shape? = this.pressedShape): IconButtonShapes

Returns a copy of this IconButtonShapes, optionally overriding some of the values.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int