loadFonts static method
Implementation
static Future<void> loadFonts(Map<String, List<String>> fontMap) async {
final fonts = fontMap.entries
.map((entry) =>
_getFontLoader(family: entry.key, filePaths: entry.value))
.toList();
Future.wait(fonts.map((loader) => loader.load()));
}