hasSelectionControlsWhere method
Expects that selectionControls of SelectableText matches the condition in match
.
Example usage:
spot<SelectableText>().existsOnce().hasSelectionControlsWhere((it) => it.equals(MaterialTextSelectionControls()));
Implementation
WidgetMatcher<SelectableText> hasSelectionControlsWhere(
MatchProp<TextSelectionControls> match) {
return hasDiagnosticProp<TextSelectionControls>('selectionControls', match);
}