toggle menu
viewmodel-pilot
0.3.3-SNAPSHOT
common
switch theme
search in API
components
/
com.mirego.pilot.components
/
PilotSwitch
Pilot
Switch
class
PilotSwitch
<
T
:
Any
>
(
val
isOn
:
StateFlow
<
Boolean
>
,
val
label
:
T
,
val
onCheckedChange
:
(
Boolean
)
->
Unit
=
{}
)
Members
Constructors
Pilot
Switch
Link copied to clipboard
constructor
(
isOn
:
StateFlow
<
Boolean
>
,
label
:
T
,
onCheckedChange
:
(
Boolean
)
->
Unit
=
{}
)
Properties
is
On
Link copied to clipboard
val
isOn
:
StateFlow
<
Boolean
>
label
Link copied to clipboard
val
label
:
T
on
Checked
Change
Link copied to clipboard
val
onCheckedChange
:
(
Boolean
)
->
Unit