api library

Classes

FontMetadata
Class representing a font's metadata.

Enums

FontFormat
Font format options

Functions

fetchFontFile(String fontId, String subset, int weight, String style, FontFormat format, [String? version]) Future<Uint8List>
Fetch specified variant of a font file.
fetchFontZip(String fontId, [String? version]) Future<Uint8List>
Fetch zip bundle of a font.
listFontMetadata({String? id, String? family, List<String>? subsets, List<int>? weights, List<String>? styles, String? defSubset, bool? variable, String? lastModified, String? category, String? version, String? type}) Future<List<FontMetadata>>
Returns a list of FontMetadatas.
listFonts() Future<List<String>>
Returns a list of font ids.