whereShrinkWrap method

  1. @useResult
WidgetSelector<GridView> whereShrinkWrap(
  1. MatchProp<bool> match
)

Creates a WidgetSelector that finds all GridView where shrinkWrap matches the condition.

Example usage:

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

Implementation

@useResult
WidgetSelector<GridView> whereShrinkWrap(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('shrinkWrap', match);
}