Compose Unstyled 2.0 is out! Check the official announcement blog ->
Class

RemoteFontFamily

A sealed class that represents the concept of a FontFamily in Remote Compose.

Source set: Android
public sealed class RemoteFontFamily(public val name: String, private val fontFamilyName: String)

A sealed class that represents the concept of a FontFamily in Remote Compose.

Parameters

name The name used by the player to resolve the font (e.g., "serif").
fontFamilyName A display name used for debugging and logging purposes.

Companion Object

Methods

Source set: Android
public fun fromComposeFontFamily(fontFamily: FontFamily?): RemoteFontFamily?

Maps a Compose FontFamily to a RemoteFontFamily.

Last updated: