whereFontBackgroundColor method
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);
}