Color, toolbarState: CollapsingToolbarState, ) { Box( modifier = modifier .fillMaxSize() .drawWithCache { onDrawBehind { drawRect( color = backgroundColor, size = Size( width = size.width, height = toolbarState.minHeight + toolbarState.offset, ), ) } }, ) } 51