setFont static method
The fontFamily parameter should match a Google Fonts family name.
Font names are automatically sanitized (lowercased, special chars removed).
Implementation
static void setFont(String fontFamily) {
_fontFamily = fontFamily.toLowerCase().replaceAll(RegExp(r'[^a-z0-9]'), '');
}