whereDirection method

  1. @useResult
WidgetSelector<Wrap> whereDirection(
  1. MatchProp<Axis> match
)

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