-
public final class ButtonKt
-
-
Method Summary
Modifier and Type Method Description final static UnitButton(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 UnitButton(@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;
-
-
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;
-
-
-