TopBar
fun TopBar(scope: ERROR CLASS: Symbol not found for CoroutineScope, scaffoldState: ERROR CLASS: Symbol not found for ScaffoldState, title: Int)
Renders the application top app bar with a hamburger menu icon that opens the navigation drawer.
The entire navigation icon area (full TopAppBar height, square aspect ratio) is tappable — not just the 24 dp icon itself — so the drawer is easy to open with a thumb or imprecise tap.
Parameters
scope
CoroutineScope used to launch the drawer open animation.
scaffoldState
ScaffoldState providing access to the drawer state.
title
String resource ID for the screen title displayed in the top bar.