ui
0.8.0
jvm
ui
/
org.jetbrains.jewel.ui.component
/
CheckboxRow
Checkbox
Row
@
Composable
fun
CheckboxRow
(
text
:
String
,
checked
:
Boolean
,
onCheckedChange
:
(
Boolean
)
->
Unit
?
,
modifier
:
Modifier
=
Modifier
,
enabled
:
Boolean
=
true
,
outline
:
Outline
=
Outline.None
,
interactionSource
:
MutableInteractionSource
=
remember { MutableInteractionSource() }
,
colors
:
CheckboxColors
=
LocalCheckboxStyle.current.colors
,
metrics
:
CheckboxMetrics
=
LocalCheckboxStyle.current.metrics
,
icons
:
CheckboxIcons
=
LocalCheckboxStyle.current.icons
,
textStyle
:
TextStyle
=
LocalTextStyle.current
)
@
Composable
fun
CheckboxRow
(
checked
:
Boolean
,
onCheckedChange
:
(
Boolean
)
->
Unit
?
,
modifier
:
Modifier
=
Modifier
,
enabled
:
Boolean
=
true
,
outline
:
Outline
=
Outline.None
,
interactionSource
:
MutableInteractionSource
=
remember { MutableInteractionSource() }
,
colors
:
CheckboxColors
=
LocalCheckboxStyle.current.colors
,
metrics
:
CheckboxMetrics
=
LocalCheckboxStyle.current.metrics
,
icons
:
CheckboxIcons
=
LocalCheckboxStyle.current.icons
,
textStyle
:
TextStyle
=
LocalTextStyle.current
,
content
:
@
Composable
RowScope
.
(
)
->
Unit
)