hasShrinkWrap method

WidgetMatcher<GridView> hasShrinkWrap(
  1. bool? value
)

Expects that shrinkWrap of GridView equals (==) value.

Example usage:

spot<GridView>().existsOnce().hasShrinkWrap(true);

Implementation

WidgetMatcher<GridView> hasShrinkWrap(bool? value) {
  return hasDiagnosticProp<bool>(
      'shrinkWrap', (it) => value == null ? it.isNull() : it.equals(value));
}