whereSelectionColor method
Creates a WidgetSelector that finds all AnyText where selectionColor matches the condition.
Example usage:
spot<AnyText>().whereSelectionColor((it) => it.equals(Colors.red)).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> whereSelectionColor(MatchProp<Color> match) {
return withDiagnosticProp<Color>('selectionColor', match);
}