toggle menu
Spezi Documentation
androidJvm
switch theme
search in API
design
/
edu.stanford.spezi.core.design.component
/
AsyncSwitch
Async
Switch
@
Composable
fun
AsyncSwitch
(
modifier
:
Modifier
=
Modifier
,
isLoading
:
Boolean
=
false
,
checked
:
Boolean
,
onCheckedChange
:
(
Boolean
)
->
Unit
,
enabled
:
Boolean
=
isLoading.not()
)