whereSelectionEnabled method
Creates a WidgetSelector that finds all SelectableText where selectionEnabled matches the condition.
Example usage:
spot<SelectableText>().whereSelectionEnabled((it) => it.isTrue()).existsOnce();
Implementation
@useResult
WidgetSelector<SelectableText> whereSelectionEnabled(MatchProp<bool> match) {
return withDiagnosticProp<bool>('selectionEnabled', match);
}