HideOnScrollTopBar
fun HideOnScrollTopBar(state: TopBarHideState, enabled: Boolean, bar: @Composable () -> Unit)(source)
Lays out bar less the part of it that state has slid away, so the scaffold's content moves up with it. The bar leaves entirely, the part behind the status bar too, and the content scrolls on under the status bar, edge to edge. With enabled false the bar is laid out whole.