-
public final class ConfirmationKt
-
-
Method Summary
Modifier and Type Method Description final static UnitConfirmation(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 UnitConfirmation(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 UnitConfirmationContent(Function0<Unit> icon, String title, ScalingLazyColumnState columnState, Boolean showPositionIndicator)-
-
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.
-
ConfirmationContent
@Composable() final static Unit ConfirmationContent(Function0<Unit> icon, String title, ScalingLazyColumnState columnState, Boolean showPositionIndicator)
-
-
-