Property

LocalFontLoader

The CompositionLocal to provide platform font loading methods.

Source set: Common
@Deprecated(
    "LocalFontLoader is replaced with LocalFontFamilyResolver",
    replaceWith = ReplaceWith("LocalFontFamilyResolver"),
)
public val LocalFontLoader:
    ProvidableCompositionLocal<
        androidx.compose.ui.text.font.Font.ResourceLoader
    > =
    computedDefaultOf("LocalFontLoader") {
        @Suppress("DEPRECATION") LocalOwner.currentValue.fontLoader
    }

The CompositionLocal to provide platform font loading methods.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: