whereFontBackground method

  1. @useResult
WidgetSelector<AnyText> whereFontBackground(
  1. MatchProp<Paint> match
)

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

Example usage:

spot<AnyText>().whereFontBackground((it) => it.equals(Paint())).existsOnce();

Implementation

@useResult
WidgetSelector<AnyText> whereFontBackground(MatchProp<Paint> match) {
  return withDiagnosticProp<Paint>('font_background', match);
}