TopBar

fun TopBar(navController: NavHostController, screenInfo: ScreenInfo)

The component for the application toolbar.

Parameters

navController

the object used to check if the Back arrow should be displayed.

screenInfo

the data for the toolbar, including title, a list of composable actions (@Composable functions), and potentially other elements.