build_helpers
library
Functions
-
addFont(BuildInput input, BuildOutputBuilder output, {required String family, required String filePath, String? name, int? weight, String? style, bool treeShake = false, AssetRouting? routing})
→ void
-
Adds a single font file at
filePath (relative to the package root) to the
output as a FontAsset of the given family.
-
addFontFamily(BuildInput input, BuildOutputBuilder output, {required String family, required List<FontFile> fonts, bool treeShake = false, AssetRouting? routing})
→ void
-
Adds all
fonts of a family to the output.