Package 

Class ToggleChipKt

    • Method Summary

      Modifier and Type Method Description
      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;

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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;