whereFontForeground method

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

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

Example usage:

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

Implementation

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