Package 

Class ButtonKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit Button(ImageVector imageVector, String contentDescription, Function0<Unit> onClick, Modifier modifier, Function0<Unit> onLongClick, ButtonColors colors, ButtonSize buttonSize, IconRtlMode iconRtlMode, Boolean enabled) This component is an alternative to Button, providing the following:
      • a convenient way of providing an icon and choosing its size from a range of sizes recommended by the Wear guidelines;

      final static Unit Button(@DrawableRes() Integer id, String contentDescription, Function0<Unit> onClick, Modifier modifier, Function0<Unit> onLongClick, ButtonColors colors, ButtonSize buttonSize, IconRtlMode iconRtlMode, Boolean enabled) This component is an alternative to Button, providing the following:
      • a convenient way of providing an icon and choosing its size from a range of sizes recommended by the Wear guidelines;

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • Button

         final static Unit Button(ImageVector imageVector, String contentDescription, Function0<Unit> onClick, Modifier modifier, Function0<Unit> onLongClick, ButtonColors colors, ButtonSize buttonSize, IconRtlMode iconRtlMode, Boolean enabled)

        This component is an alternative to Button, providing the following:

        • a convenient way of providing an icon and choosing its size from a range of sizes recommended by the Wear guidelines;

      • Button

         final static Unit Button(@DrawableRes() Integer id, String contentDescription, Function0<Unit> onClick, Modifier modifier, Function0<Unit> onLongClick, ButtonColors colors, ButtonSize buttonSize, IconRtlMode iconRtlMode, Boolean enabled)

        This component is an alternative to Button, providing the following:

        • a convenient way of providing an icon and choosing its size from a range of sizes recommended by the Wear guidelines;