whereFontHeight method

  1. @useResult
WidgetSelector<AnyText> whereFontHeight(
  1. MatchProp<double> match
)

Creates a WidgetSelector that finds all AnyText where fontHeight matches the condition.

Example usage:

spot<AnyText>().whereFontHeight((it) => it.isGreaterThan(10.5)).existsOnce();

Implementation

@useResult
WidgetSelector<AnyText> whereFontHeight(MatchProp<double> match) {
  return withDiagnosticProp<double>('font_height', match);
}