hasCursorHeight method

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

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

Example usage:

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

Implementation

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