getFontSize method

double getFontSize()

Returns the fontSize of the matched AnyText via Widget.toDiagnosticsNode

Implementation

double getFontSize() {
  return getDiagnosticProp<double>('font_size');
}