whereFontBackgroundColor method

  1. @useResult
WidgetSelector<AnyText> whereFontBackgroundColor(
  1. MatchProp<Color> match
)

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

Example usage:

spot<AnyText>().whereFontBackgroundColor((it) => it.equals(Colors.red)).existsOnce();

Implementation

@useResult
WidgetSelector<AnyText> whereFontBackgroundColor(MatchProp<Color> match) {
  return withDiagnosticProp<Color>('font_backgroundColor', match);
}