Useful Composable Approaches - devrath/RunTracer GitHub Wiki

Defining a reusable composable that accepts content composable with column Scope

@Composable
fun GradientBackground(
    modifier: Modifier = Modifier,
    hasToolbar: Boolean = true,
    content: @Composable ColumnScope.() -> Unit
) {
   // ---> CONTENT
}