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