-
public final class GenericActionsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitGenericAction(Modifier modifier, ImageVector icon, Boolean enabled, Shape shape, Color color, Color iconTint, StreamFixedSizeButtonStyle style, Function0<Unit> onAction)final static UnitToggleAction(Modifier modifier, Boolean isActionActive, Pair<ImageVector, ImageVector> iconOnOff, Boolean enabled, Shape shape, Color enabledColor, Color disabledColor, Color enabledIconTint, Color disabledIconTint, Boolean progress, StreamFixedSizeButtonStyle onStyle, StreamFixedSizeButtonStyle offStyle, Function0<Unit> onAction)A call action button represents toggling a microphone. -
-
Method Detail
-
GenericAction
@Composable() final static Unit GenericAction(Modifier modifier, ImageVector icon, Boolean enabled, Shape shape, Color color, Color iconTint, StreamFixedSizeButtonStyle style, Function0<Unit> onAction)
-
ToggleAction
@Composable() final static Unit ToggleAction(Modifier modifier, Boolean isActionActive, Pair<ImageVector, ImageVector> iconOnOff, Boolean enabled, Shape shape, Color enabledColor, Color disabledColor, Color enabledIconTint, Color disabledIconTint, Boolean progress, StreamFixedSizeButtonStyle onStyle, StreamFixedSizeButtonStyle offStyle, Function0<Unit> onAction)
A call action button represents toggling a microphone.
- Parameters:
modifier- Optional Modifier for this action button.enabled- Whether or not this action button will handle input events.
-
-
-
-