Android Studio – Jetpack Compose Modifier.fillMaxWidth.align fails to compile
Declaring a Box like this results in a compilation error Box(modifier = Modifier .fillMaxWidth() .align(Alignment.Center)) { Text(text = "Hello") } import for align looks like this import androidx.compose.foundation.layout.BoxScopeInstance.align Error Cannot access 'BoxScopeInstance': it is internal in 'androidx.compose.foundation.layout' Compose Version =…