hasDenseWhere method

WidgetMatcher<ListTile> hasDenseWhere(
  1. MatchProp<bool> match
)

Expects that dense of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().hasDenseWhere((it) => it.isTrue());

Implementation

WidgetMatcher<ListTile> hasDenseWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('dense', match);
}