api library Null safety

Classes

FontMetadata
Class representing a font's metadata.

Functions

fetchFontFile(String fontId, String subset, int weight, String style, FontFormat format, [String? version]) Future<Uint8List>
Fetch specified variant of a font file.
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.

Enums

FontFormat
Font format options