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