-
public final class SplitToggleChipKt
-
-
Method Summary
Modifier and Type Method Description final static UnitSplitToggleChip(Boolean checked, Function1<Boolean, Unit> onCheckedChanged, String label, Function0<Unit> onClick, ToggleChipToggleControl toggleControl, Modifier modifier, String secondaryLabel, SplitToggleChipColors colors, Boolean enabled, MutableInteractionSource checkedInteractionSource, MutableInteractionSource clickInteractionSource)This component is an alternative to SplitToggleChip, providing the following: a convenient way of providing a label and a secondary label;
a convenient way of choosing the toggle control;
-
-
Method Detail
-
SplitToggleChip
@Composable() final static Unit SplitToggleChip(Boolean checked, Function1<Boolean, Unit> onCheckedChanged, String label, Function0<Unit> onClick, ToggleChipToggleControl toggleControl, Modifier modifier, String secondaryLabel, SplitToggleChipColors colors, Boolean enabled, MutableInteractionSource checkedInteractionSource, MutableInteractionSource clickInteractionSource)
This component is an alternative to SplitToggleChip, providing the following:
a convenient way of providing a label and a secondary label;
a convenient way of choosing the toggle control;
-
-
-