toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
rememberToggleEither
remember
Toggle
Either
@
Composable
fun
<
L
,
R
>
rememberToggleEither
(
defaultValue
:
L
?
=
null
,
reverseValue
:
R
?
=
null
)
:
Pair
<
Either
<
L
?
,
R
?
>
,
ToggleFn
>