ScreenTitle

fun ScreenTitle(title: String, navController: NavController, modifier: Modifier = Modifier, showBack: Boolean = false, showNotifications: Boolean = true)

Displays a customizable title bar for application screens.

The back button returns to the previous screen and the notification button navigates to the notifications screen.

Parameters

title

Text displayed as the screen heading.

navController

The NavController used to navigate between screens and return to the previous screen.

modifier

Modifier used to customize the title bar's layout and appearance.

showBack

Whether to display the back button. Defaults to false.

showNotifications

Whether to display the notifications button. Defaults to true.