Set a Google font dynamically
void setGoogleFont(TextStyle Function([TextStyle?]) googleFont) { currentFont.value = FontConfig( source: AppFontSource.google, googleFont: googleFont, ); }