hasPrimaryWhere method

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

Expects that primary of GridView matches the condition in match.

Example usage:

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

Implementation

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