Companion
object Companion
Functions
Link copied to clipboard
fun DialogLayout(visible: MutableState<Boolean>, enterTransition: EnterTransition? = null, exitTransition: ExitTransition? = null, enableWindowDim: Boolean = true, enableAutoLargeScreen: Boolean = true, dimEnterTransition: EnterTransition? = null, dimExitTransition: ExitTransition? = null, dimAlpha: MutableState<Float>? = null, onDismissFinished: () -> Unit? = null, renderInRootScaffold: Boolean = true, content: @Composable () -> Unit? = null)
Create a dialog layout.
Link copied to clipboard
A host for show popup and dialog. Already added to the Scaffold by default.
Link copied to clipboard
fun PopupLayout(visible: MutableState<Boolean>, enterTransition: EnterTransition? = null, exitTransition: ExitTransition? = null, enableWindowDim: Boolean = true, enableBackHandler: Boolean = true, dimEnterTransition: EnterTransition? = null, dimExitTransition: ExitTransition? = null, renderInRootScaffold: Boolean = true, content: @Composable () -> Unit? = null)
Create a popup layout.