hasOnTapWhere method

WidgetMatcher<ListTile> hasOnTapWhere(
  1. MatchProp<Function> match
)

Expects that onTap of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().hasOnTapWhere((it) => it.equals(() {}));

Implementation

WidgetMatcher<ListTile> hasOnTapWhere(MatchProp<Function> match) {
  return hasDiagnosticProp<Function>('onTap', match);
}