hasOnLongPressWhere method
Expects that onLongPress of ListTile matches the condition in match
.
Example usage:
spot<ListTile>().existsOnce().hasOnLongPressWhere((it) => it.equals(() {}));
Implementation
WidgetMatcher<ListTile> hasOnLongPressWhere(MatchProp<Function> match) {
return hasDiagnosticProp<Function>('onLongPress', match);
}