@ -192,7 +192,7 @@ fun FloatingFABContent(
modifier = Modifier . padding ( bottom = 16. dp )
modifier = Modifier . padding ( bottom = 16. dp )
) {
) {
// Menu FAB items
// Menu FAB items
MenuFABItem (
Overlay MenuFABItem(
icon = Icons . Default . Search ,
icon = Icons . Default . Search ,
label = " DETECT " ,
label = " DETECT " ,
containerColor = MaterialTheme . colorScheme . primary ,
containerColor = MaterialTheme . colorScheme . primary ,
@ -203,7 +203,7 @@ fun FloatingFABContent(
}
}
)
)
MenuFABItem (
Overlay MenuFABItem(
icon = Icons . Default . Star ,
icon = Icons . Default . Star ,
label = " SHINY " ,
label = " SHINY " ,
containerColor = MaterialTheme . colorScheme . tertiary ,
containerColor = MaterialTheme . colorScheme . tertiary ,
@ -215,7 +215,7 @@ fun FloatingFABContent(
}
}
)
)
MenuFABItem (
Overlay MenuFABItem(
icon = Icons . Default . AccountCircle ,
icon = Icons . Default . AccountCircle ,
label = " POKEBALL " ,
label = " POKEBALL " ,
containerColor = MaterialTheme . colorScheme . error ,
containerColor = MaterialTheme . colorScheme . error ,
@ -227,7 +227,7 @@ fun FloatingFABContent(
}
}
)
)
MenuFABItem (
Overlay MenuFABItem(
icon = Icons . Default . List ,
icon = Icons . Default . List ,
label = " ALL " ,
label = " ALL " ,
containerColor = MaterialTheme . colorScheme . secondary ,
containerColor = MaterialTheme . colorScheme . secondary ,
@ -239,7 +239,7 @@ fun FloatingFABContent(
}
}
)
)
MenuFABItem (
Overlay MenuFABItem(
icon = Icons . Default . Build ,
icon = Icons . Default . Build ,
label = " DEBUG " ,
label = " DEBUG " ,
containerColor = MaterialTheme . colorScheme . outline ,
containerColor = MaterialTheme . colorScheme . outline ,
@ -306,7 +306,7 @@ fun FloatingFABContent(
}
}
@Composable
@Composable
fun MenuFABItem (
fun Overlay MenuFABItem(
icon : ImageVector ,
icon : ImageVector ,
label : String ,
label : String ,
containerColor : Color ,
containerColor : Color ,