Strata
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Strata
api
/
dev.s7a.strata.component
/
CycleButtonState
/
Companion
Companion
object
Companion
(
source
)
Type-specific state factories.
Members
Functions
invoke
Link copied to clipboard
inline operator
fun
<
E
:
Enum
<
E
>
>
invoke
(
initialValue
:
E
,
noinline
toString
:
(
E
)
->
String
=
{ value -> value.name }
)
:
CycleButtonState
<
E
>
Creates state containing every constant of
E
in declaration order.