getFontStyle method

FontStyle getFontStyle()

Returns the fontStyle of the matched AnyText via Widget.toDiagnosticsNode

Implementation

FontStyle getFontStyle() {
  return getDiagnosticProp<FontStyle>('font_style');
}