hasOnTapWhere method
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);
}