hasShrinkWrap method
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));
}