Android System UI Controller
origin System UI Controller for Jetpack Compose
// Remember a SystemUiController
val systemUiController = rememberExSystemUiController()
DisposableEffect(systemUiController) {
// Update all of the system bar colors to be transparent, and use
// dark icons if we're in light theme
systemUiController.setSystemBarsColor(
color = Color.Transparent,
)
// setStatusBarColor() and setNavigationBarColor() also exist
onDispose {}
}