I wanted to preview the Scaffold. But I am not abl...
# compose
s
I wanted to preview the Scaffold. But I am not able to preview properly.
Copy code
@Preview
@Composable
fun BaseScaffold() {
    Scaffold(
        topBar = {},
        bottomBar = {
            BottomAppBar(
                cutoutShape = CircleShape
            ) {

                IconButton(
                    icon = { Icon(asset = <http://Icons.Filled.Menu|Icons.Filled.Menu>) },
                    onClick = {})

                Spacer(modifier = Modifier.weight(1f))

                IconButton(
                    icon = { Icon(asset = Icons.Filled.Search) },
                    onClick = {})
            }
        },
        bodyContent = {
            Text(text = "SAM")
        },
        isFloatingActionButtonDocked = true,
        floatingActionButtonPosition = FabPosition.Center,
        floatingActionButton = {
            FloatingActionButton(
                onClick = {},
                shape = CircleShape
            ) {
                Icon(asset = Icons.Filled.Send)
            }
        }
    )
}