whereCursorWidth method

  1. @useResult
WidgetSelector<TextField> whereCursorWidth(
  1. MatchProp<double> match
)

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

Example usage:

spot<TextField>().whereCursorWidth((it) => it.isGreaterThan(10.5)).existsOnce();

Implementation

@useResult
WidgetSelector<TextField> whereCursorWidth(MatchProp<double> match) {
  return withDiagnosticProp<double>('cursorWidth', match);
}