hasOnLongPress method
Expects that onLongPress of ListTile equals (==) value
.
Example usage:
spot<ListTile>().existsOnce().hasOnLongPress(() {});
Implementation
WidgetMatcher<ListTile> hasOnLongPress(Function? value) {
return hasDiagnosticProp<Function>(
'onLongPress', (it) => value == null ? it.isNull() : it.equals(value));
}