fontStyle property

TextStyle get fontStyle

Implementation

TextStyle get fontStyle {
  try {
    return FontType.values.firstWhere((font) => font.name == this).fontStyle;
  } on Exception catch (_) {
    return FontType.notoSansJp.fontStyle;
  }
}