withFontBackgroundColor method
Creates a WidgetSelector that finds all AnyText where fontBackgroundColor equals (==) value
.
Example usage:
spot<AnyText>().withFontBackgroundColor(Colors.red).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> withFontBackgroundColor(Color? value) {
return withDiagnosticProp<Color>('font_backgroundColor',
(it) => value == null ? it.isNull() : it.equals(value));
}