initialize method
Initialize and preload all fonts synchronously accessible later
Implementation
Future<void> initialize() async {
for (var type in BanglaFontType.values) {
await _loadFont(type);
}
}
Initialize and preload all fonts synchronously accessible later
Future<void> initialize() async {
for (var type in BanglaFontType.values) {
await _loadFont(type);
}
}