class IconButtonShapes


Represents the shapes used for IconButton in various states.

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

Summary

Public constructors

IconButtonShapes(shape: Shape, pressed: Shape?)

Public functions

IconButtonShapes
copy(default: Shape, pressed: 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.0.0-alpha27
IconButtonShapes(shape: Shape, pressed: Shape? = null)
Parameters
shape: Shape

the shape of the icon button when enabled

pressed: Shape? = null

the shape of the icon button when pressed

Public functions

copy

Added in 1.0.0-alpha27
fun copy(default: Shape = this.shape, pressed: Shape? = this.pressed): IconButtonShapes

equals

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

hashCode

open fun hashCode(): Int

Public properties

pressed

Added in 1.0.0-alpha27
val pressedShape?

the shape of the icon button when pressed

shape

Added in 1.0.0-alpha27
val shapeShape

the shape of the icon button when enabled