Package 

Class AlertDialogKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit AlertDialog(Boolean showDialog, Function0<Unit> onCancel, Function0<Unit> onOk, Modifier modifier, Function0<Unit> icon, String title, String message, String okButtonContentDescription, String cancelButtonContentDescription, ScalingLazyColumnState state, Function1<ScalingLazyListScope, Unit> content) This component is an alternative to AlertContent, providing the following:
      • a convenient way of passing a title and a message;

      • additional content can be specified between the message and the buttons

      • default positive and negative buttons;

      • wrapped in a Dialog;

      final static Unit AlertDialog(Boolean showDialog, Function0<Unit> onDismiss, Modifier modifier, Function0<Unit> icon, String title, String message, ScalingLazyColumnState state, Function1<ScalingLazyListScope, Unit> content) This component is an alternative to AlertContent, providing the following:
      • a convenient way of passing a title and a message;

      • slot for scrollable content (including stack of Chips for options);

      • wrapped in a Dialog;

      final static Unit AlertContent(Modifier modifier, Function0<Unit> onCancel, Function0<Unit> onOk, Function0<Unit> icon, String title, String message, String okButtonContentDescription, String cancelButtonContentDescription, ScalingLazyColumnState state, Boolean showPositionIndicator, Function1<ScalingLazyListScope, Unit> content)
      • Methods inherited from class java.lang.Object

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

      • AlertDialog

        @Composable() final static Unit AlertDialog(Boolean showDialog, Function0<Unit> onCancel, Function0<Unit> onOk, Modifier modifier, Function0<Unit> icon, String title, String message, String okButtonContentDescription, String cancelButtonContentDescription, ScalingLazyColumnState state, Function1<ScalingLazyListScope, Unit> content)

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

        • a convenient way of passing a title and a message;

        • additional content can be specified between the message and the buttons

        • default positive and negative buttons;

        • wrapped in a Dialog;

      • AlertDialog

        @Composable() final static Unit AlertDialog(Boolean showDialog, Function0<Unit> onDismiss, Modifier modifier, Function0<Unit> icon, String title, String message, ScalingLazyColumnState state, Function1<ScalingLazyListScope, Unit> content)

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

        • a convenient way of passing a title and a message;

        • slot for scrollable content (including stack of Chips for options);

        • wrapped in a Dialog;

      • AlertContent

        @Composable() final static Unit AlertContent(Modifier modifier, Function0<Unit> onCancel, Function0<Unit> onOk, Function0<Unit> icon, String title, String message, String okButtonContentDescription, String cancelButtonContentDescription, ScalingLazyColumnState state, Boolean showPositionIndicator, Function1<ScalingLazyListScope, Unit> content)