Package 

Class ConfirmationKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit Confirmation(Boolean showDialog, Function0<Unit> onTimeout, Modifier modifier, Function0<Unit> icon, String title, Long durationMillis, ScalingLazyColumnState columnState) This component is an alternative to ConfirmationContent, providing the following:
      • a convenient way of passing a title and an icon;

      • duration;

      • wrapped in a Dialog;

      final static Unit Confirmation(Function0<Unit> onTimeout, Modifier modifier, Function1<ColumnScope, Unit> icon, ScalingLazyListState scrollState, Long durationMillis, Color backgroundColor, Color contentColor, Color iconColor, Arrangement.Vertical verticalArrangement, PaddingValues contentPadding, Function1<ColumnScope, Unit> content) A wrapper for Confirmation component, that calculates the value passed to durationMillis for accessibility.
      final static Unit ConfirmationContent(Function0<Unit> icon, String title, ScalingLazyColumnState columnState, Boolean showPositionIndicator)
      • Methods inherited from class java.lang.Object

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

      • Confirmation

        @Composable() final static Unit Confirmation(Boolean showDialog, Function0<Unit> onTimeout, Modifier modifier, Function0<Unit> icon, String title, Long durationMillis, ScalingLazyColumnState columnState)

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

        • a convenient way of passing a title and an icon;

        • duration;

        • wrapped in a Dialog;

      • Confirmation

        @Composable() final static Unit Confirmation(Function0<Unit> onTimeout, Modifier modifier, Function1<ColumnScope, Unit> icon, ScalingLazyListState scrollState, Long durationMillis, Color backgroundColor, Color contentColor, Color iconColor, Arrangement.Vertical verticalArrangement, PaddingValues contentPadding, Function1<ColumnScope, Unit> content)

        A wrapper for Confirmation component, that calculates the value passed to durationMillis for accessibility.

        This should be removed once https://issuetracker.google.com/issues/261385562 is addressed.