whereVerticalDirection method

  1. @useResult
WidgetSelector<Wrap> whereVerticalDirection(
  1. MatchProp<VerticalDirection> match
)

Creates a WidgetSelector that finds all Wrap where verticalDirection matches the condition.

Example usage:

spot<Wrap>().whereVerticalDirection((it) => it.equals(VerticalDirection.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<Wrap> whereVerticalDirection(
    MatchProp<VerticalDirection> match) {
  return withDiagnosticProp<VerticalDirection>('verticalDirection', match);
}