hasDirectionWhere method

WidgetMatcher<Row> hasDirectionWhere(
  1. MatchProp<Axis> match
)

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