hasSelectionEnabledWhere method
Expects that selectionEnabled of SelectableText matches the condition in match
.
Example usage:
spot<SelectableText>().existsOnce().hasSelectionEnabledWhere((it) => it.isTrue());
Implementation
WidgetMatcher<SelectableText> hasSelectionEnabledWhere(
MatchProp<bool> match) {
return hasDiagnosticProp<bool>('selectionEnabled', match);
}