ToggleButtonShapes
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.
Summary
Public constructors |
|
|---|---|
ToggleButtonShapes(shape: Shape, pressedShape: Shape, checkedShape: Shape) |
Cmn
|
Public functions |
||
|---|---|---|
ToggleButtonShapes |
Returns a copy of this ToggleButtonShapes, optionally overriding some of the values. |
Cmn
|
open operator Boolean |
Cmn
|
|
open Int |
hashCode() |
Cmn
|
Public properties |
||
|---|---|---|
Shape |
is the checked shape. |
Cmn
|
Shape |
is the pressed shape. |
Cmn
|
Shape |
is the unchecked shape. |
Cmn
|
Public constructors
Public functions
copy
fun copy(
shape: Shape? = this.shape,
pressedShape: Shape? = this.pressedShape,
checkedShape: Shape? = this.checkedShape
): ToggleButtonShapes
Returns a copy of this ToggleButtonShapes, optionally overriding some of the values.