hasClipBehaviorWhere method

WidgetMatcher<TextField> hasClipBehaviorWhere(
  1. MatchProp<Clip> match
)

Expects that clipBehavior of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasClipBehaviorWhere((it) => it.equals(Clip.values.first));

Implementation

WidgetMatcher<TextField> hasClipBehaviorWhere(MatchProp<Clip> match) {
  return hasDiagnosticProp<Clip>('clipBehavior', match);
}