whereClipBehavior method

  1. @useResult
WidgetSelector<TextField> whereClipBehavior(
  1. MatchProp<Clip> match
)

Creates a WidgetSelector that finds all TextField where clipBehavior matches the condition.

Example usage:

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

Implementation

@useResult
WidgetSelector<TextField> whereClipBehavior(MatchProp<Clip> match) {
  return withDiagnosticProp<Clip>('clipBehavior', match);
}