hasCursorHeight method

WidgetMatcher<TextField> hasCursorHeight(
  1. double? value
)

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

Example usage:

spot<TextField>().existsOnce().hasCursorHeight(10.5);

Implementation

WidgetMatcher<TextField> hasCursorHeight(double? value) {
  return hasDiagnosticProp<double>(
      'cursorHeight', (it) => value == null ? it.isNull() : it.equals(value));
}