🌈 Create new beautiful Compose Gradients with our new wesite ->
Property

LocalContext

Provides a Context that can be used by Android applications.

Source set: Android
public val LocalContext: ProvidableCompositionLocal<Context> =
    computedDefaultOf<Context>("LocalContext") {
        LocalAndroidComposeView.currentValue?.context ?: noLocalProvidedFor("LocalContext")
    }

Provides a Context that can be used by Android applications.