withFontBackground method
Creates a WidgetSelector that finds all AnyText where fontBackground equals (==) value
.
Example usage:
spot<AnyText>().withFontBackground(Paint()).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> withFontBackground(Paint? value) {
return withDiagnosticProp<Paint>('font_background',
(it) => value == null ? it.isNull() : it.equals(value));
}