nav Component
fun navComponent(navController: NavHostController, modifier: Modifier = Modifier, fabActionVisible: Boolean = false, fabResetAction: () -> Unit = {})
Composable function for setting up the navigation component.
Parameters
nav Controller
The NavHostController responsible for navigation.
modifier
The modifier for the NavHost composable.
fab Action Visible
Whether the Floating Action Button (FAB) action is visible.
fab Reset Action
The action to perform when the FAB reset action is triggered.