fetchFonts method
Implementation
Future<void> fetchFonts(List<CustomFontEntity> customFonts) async {
final futures = <Future>[];
for (final font in customFonts) {
futures.add(downloadFont(font));
}
await Future.wait(futures);
}
Future<void> fetchFonts(List<CustomFontEntity> customFonts) async {
final futures = <Future>[];
for (final font in customFonts) {
futures.add(downloadFont(font));
}
await Future.wait(futures);
}