hasSelectionEnabledWhere method

WidgetMatcher<TextField> hasSelectionEnabledWhere(
  1. MatchProp<bool> match
)

Expects that selectionEnabled of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasSelectionEnabledWhere((it) => it.isTrue());

Implementation

WidgetMatcher<TextField> hasSelectionEnabledWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('selectionEnabled', match);
}