Sudhir Singh Khanger
MaterialTheme.colors.onSurface
org.jetbrains.kotlin.diagnostics.SimpleDiagnostic@9406416a (error: could not render message)
@Composable invocations can only happen from the context of a @Composable function
Filip Wiesner
remember {}
@Composable fun Test() { MyTheme { Column { Canvas(modifier = Modifier.fillMaxSize()) { drawCircle( color = MaterialTheme.colors.onSurface, radius = 10f ) } } } }
tad
DrawScope.()
Canvas
A modern programming language that makes developers happier.