hasDense method

WidgetMatcher<ListTile> hasDense(
  1. bool? value
)

Expects that dense of ListTile equals (==) value.

Example usage:

spot<ListTile>().existsOnce().hasDense(true);

Implementation

WidgetMatcher<ListTile> hasDense(bool? value) {
  return hasDiagnosticProp<bool>(
      'dense', (it) => value == null ? it.isNull() : it.equals(value));
}