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