Navigation
fun Navigation(navController: NavHostController, innerPadding: PaddingValues, onChangeScreenInfo: (screenInfo: ScreenInfo) -> Unit)
This composable manages screen navigation within the application based on user actions. It utilizes a NavHost
to handle screen transitions and provides callbacks for updating the toolbar information associated with each screen.
Parameters
nav Controller
the component used to navigate between screens.
inner Padding
the padding values typically provided by the scaffold function in the Home Screen.
on Change Screen Info
an event fired whenever the screen information (title, toolbar components) needs to be updated. This typically happens when switching screens.