Package 

Class GenericActionsKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit GenericAction(Modifier modifier, ImageVector icon, Boolean enabled, Shape shape, Color color, Color iconTint, StreamFixedSizeButtonStyle style, Function0<Unit> onAction)
      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.
      • Methods inherited from class java.lang.Object

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

      • 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.