whereFontSize method

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

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

Example usage:

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

Implementation

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