hasShrinkWrapWhere method

WidgetMatcher<GridView> hasShrinkWrapWhere(
  1. MatchProp<bool> match
)

Expects that shrinkWrap of GridView matches the condition in match.

Example usage:

spot<GridView>().existsOnce().hasShrinkWrapWhere((it) => it.isTrue());

Implementation

WidgetMatcher<GridView> hasShrinkWrapWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('shrinkWrap', match);
}