resolveFontStyle static method
Implementation
static FontStyle resolveFontStyle(String? fontStyle) {
switch (fontStyle) {
case 'oblique':
case 'italic':
return FontStyle.italic;
case 'normal':
default:
return FontStyle.normal;
}
}