whereDirection method

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

Creates a WidgetSelector that finds all Column where direction matches the condition.

Example usage:

spot<Column>().whereDirection((it) => it.equals(Axis.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<Column> whereDirection(MatchProp<Axis> match) {
  return withDiagnosticProp<Axis>('direction', match);
}