Samsruti Dash
11/01/2020, 6:24 AMSamsruti Dash
11/01/2020, 6:24 AM@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)
}
}
)
}