Skip to content

Instantly share code, notes, and snippets.

@ExperimentalAnimationApi
@Composable
@ExperimentalMaterialApi
fun FloatingPanelScaffold(
modifier: Modifier = Modifier,
scaffoldState: FloatingPanelScaffoldState = rememberFloatingPanelScaffoldState(),
sidePanelState: SidePanelValue = SidePanelValue.Closed,
isInListMode: Boolean = false,
bottomPanelContent: @Composable ColumnScope.() -> Unit,
bottomPanelModifier: Modifier = Modifier,