Source set: Android
public class Named(
private val fontName: String,
public val weight: Int = 400,
public val isItalic: Boolean = false,
) : RemoteTypeface
Represents a system font referenced by name.
Parameters
| fontName | The string name of the font family (e.g., "roboto-flex"). |
| weight | The weight of the font (e.g., 400 for normal, 700 for bold). |
| isItalic | Whether the font is italic. |