whereFontFamily method

  1. @useResult
WidgetSelector<AnyText> whereFontFamily(
  1. MatchProp<String> match
)

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

Example usage:

spot<AnyText>().whereFontFamily((it) => it.equals('foo')).existsOnce();

Implementation

@useResult
WidgetSelector<AnyText> whereFontFamily(MatchProp<String> match) {
  return withDiagnosticProp<String>('font_family', match);
}