hasAlignmentWhere method
Expects that alignment of Wrap matches the condition in match
.
Example usage:
spot<Wrap>().existsOnce().hasAlignmentWhere((it) => it.equals(WrapAlignment.values.first));
Implementation
WidgetMatcher<Wrap> hasAlignmentWhere(MatchProp<WrapAlignment> match) {
return hasDiagnosticProp<WrapAlignment>('alignment', match);
}