whereDirection method
Creates a WidgetSelector that finds all Wrap where direction matches the condition.
Example usage:
spot<Wrap>().whereDirection((it) => it.equals(Axis.values.first)).existsOnce();
Implementation
@useResult
WidgetSelector<Wrap> whereDirection(MatchProp<Axis> match) {
return withDiagnosticProp<Axis>('direction', match);
}