hasShowCursor method

WidgetMatcher<SelectableText> hasShowCursor(
  1. bool? value
)

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

Example usage:

spot<SelectableText>().existsOnce().hasShowCursor(true);

Implementation

WidgetMatcher<SelectableText> hasShowCursor(bool? value) {
  return hasDiagnosticProp<bool>(
      'showCursor', (it) => value == null ? it.isNull() : it.equals(value));
}