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