hasMouseCursorWhere method

WidgetMatcher<ListTile> hasMouseCursorWhere(
  1. MatchProp<MouseCursor> match
)

Expects that mouseCursor of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().hasMouseCursorWhere((it) => it.equals(SystemMouseCursors.click));

Implementation

WidgetMatcher<ListTile> hasMouseCursorWhere(MatchProp<MouseCursor> match) {
  return hasDiagnosticProp<MouseCursor>('mouseCursor', match);
}