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