hasClipBehavior method

WidgetMatcher<TextField> hasClipBehavior(
  1. Clip? value
)

Expects that clipBehavior of TextField equals (==) value.

Example usage:

spot<TextField>().existsOnce().hasClipBehavior(Clip.values.first);

Implementation

WidgetMatcher<TextField> hasClipBehavior(Clip? value) {
  return hasDiagnosticProp<Clip>(
      'clipBehavior', (it) => value == null ? it.isNull() : it.equals(value));
}