LargeTopAppBarWithScaffold
Provides a scaffold with a Material 3 large top app bar, back navigation, and optional actions.
State ownership:
Callers own the title text, navigation callback, top-bar actions, and body content.
Callers can provide snackbarHostState and scrollBehavior to integrate with screen-level state.
Behavior:
The default scrollBehavior is TopAppBarDefaults.exitUntilCollapsedScrollBehavior, so the top app bar collapses as content scrolls.
A default empty lambda is used when floatingActionButton is not provided.
Usage note:
Pass content that applies the provided PaddingValues to avoid overlap with the top app bar.
Parameters
Title rendered in the large top app bar.
Callback invoked when the back button is pressed.
Optional action-slot composables displayed on the top app bar.
Optional floating action button content for the scaffold.
Snackbar host state used by the scaffold.
Scroll behavior applied to the top app bar.
Main screen content receiving scaffold paddings.