-
public final class ToggleChipKt
-
-
Method Summary
Modifier and Type Method Description final static UnitToggleChip(Boolean checked, Function1<Boolean, Unit> onCheckedChanged, String label, ToggleChipToggleControl toggleControl, Modifier modifier, ImageVector icon, IconRtlMode iconRtlMode, String secondaryLabel, ToggleChipColors colors, Boolean enabled, MutableInteractionSource interactionSource)This component is an alternative to ToggleChip, providing the following: a convenient way of providing a label and a secondary label;
a convenient way of choosing the toggle control;
a convenient way of providing an icon and setting the icon to be mirrored in RTL mode;
-
-
Method Detail
-
ToggleChip
@Composable() final static Unit ToggleChip(Boolean checked, Function1<Boolean, Unit> onCheckedChanged, String label, ToggleChipToggleControl toggleControl, Modifier modifier, ImageVector icon, IconRtlMode iconRtlMode, String secondaryLabel, ToggleChipColors colors, Boolean enabled, MutableInteractionSource interactionSource)
This component is an alternative to ToggleChip, providing the following:
a convenient way of providing a label and a secondary label;
a convenient way of choosing the toggle control;
a convenient way of providing an icon and setting the icon to be mirrored in RTL mode;
-
-
-