EconoShowAppBar

fun EconoShowAppBar(canNavigateBack: Boolean, navigateUp: () -> Unit, currentScreen: EconoShowScreen, modifier: Modifier = Modifier)

The top bar of the app

Shows the backwards navigation and title of the current screen to help users navigate through the app.

Parameters

canNavigateBack

Used to determine if the user can navigate backwards and to display the back button

navigateUp

Function that is invoked when the back button is pressed

currentScreen

Used to display the name of the current screen

modifier

the Modifier to be applied to this component.