TopAppBarScaffold
fun TopAppBarScaffold(title: String, content: @Composable (PaddingValues) -> Unit, floatingActionButton: @Composable () -> Unit? = null)(source)
Provides a scaffold with a scroll-aware large top app bar and optional floating action button.
State ownership:
Callers own title, optional floatingActionButton, and body content.
This composable owns an internal enter-always TopAppBarScrollBehavior.
Usage note:
Apply the provided PaddingValues inside content so list and screen content does not draw under the app bar.
Parameters
title
Title rendered in the large top app bar.
content
Main scaffold content that receives top app bar paddings.
floatingActionButton
Optional floating action button content.