getFont method
Implementation
FlutlyFont getFont(String key) {
return fonts.firstWhere(
(element) => key.toLowerCase().contains(element.key.toLowerCase()),
orElse: () => _getDefaultFont());
}
FlutlyFont getFont(String key) {
return fonts.firstWhere(
(element) => key.toLowerCase().contains(element.key.toLowerCase()),
orElse: () => _getDefaultFont());
}