Package-level declarations
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ViewerAppScaffold(title: String, navigationIcon: @Composable () -> Unit = {}, actions: @Composable RowScope.() -> Unit = {}, searchTopBar: @Composable () -> Unit = {}, topBar: @Composable () -> Unit = {
Column(modifier = Modifier.fillMaxWidth()) {
CenterAlignedTopAppBar(
title = { Text(text = title) },
navigationIcon = navigationIcon,
colors = TopAppBarDefaults.topAppBarColors(
containerColor = Color.Transparent,
scrolledContainerColor = Color.Transparent,
),
actions = actions,
modifier = Modifier.fillMaxWidth(),
)
searchTopBar()
}
}, snackbarHostState: SnackbarHostState, content: @Composable BoxScope.() -> Unit)