hasSelectionEnabled method
Expects that selectionEnabled of SelectableText equals (==) value
.
Example usage:
spot<SelectableText>().existsOnce().hasSelectionEnabled(true);
Implementation
WidgetMatcher<SelectableText> hasSelectionEnabled(bool? value) {
return hasDiagnosticProp<bool>('selectionEnabled',
(it) => value == null ? it.isNull() : it.equals(value));
}