IconButtonShapes

class IconButtonShapes


Represents the shapes used for IconButton in various states.

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

Summary

Public constructors

IconButtonShapes(shape: Shape, pressedShape: Shape)

Public functions

IconButtonShapes
copy(shape: Shape?, pressedShape: Shape?)
open operator Boolean
equals(other: Any?)
open Int

Public properties

Shape

the shape of the icon button when pressed

Shape

the shape of the icon button when enabled

Public constructors

IconButtonShapes

Added in 1.5.0
IconButtonShapes(shape: Shape, pressedShape: Shape = shape)
Parameters
shape: Shape

the shape of the icon button when enabled

pressedShape: Shape = shape

the shape of the icon button when pressed

Public functions

copy

Added in 1.5.0
fun copy(shape: Shape? = this.shape, pressedShape: Shape? = this.pressedShape): IconButtonShapes

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

pressedShape

Added in 1.5.0
val pressedShapeShape

the shape of the icon button when pressed

shape

Added in 1.5.0
val shapeShape

the shape of the icon button when enabled