hasSelectionControls method
Expects that selectionControls of SelectableText equals (==) value
.
Example usage:
spot<SelectableText>().existsOnce().hasSelectionControls(MaterialTextSelectionControls());
Implementation
WidgetMatcher<SelectableText> hasSelectionControls(
TextSelectionControls? value) {
return hasDiagnosticProp<TextSelectionControls>('selectionControls',
(it) => value == null ? it.isNull() : it.equals(value));
}