whereAlignment method

  1. @useResult
WidgetSelector<Wrap> whereAlignment(
  1. MatchProp<WrapAlignment> match
)

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

Example usage:

spot<Wrap>().whereAlignment((it) => it.equals(WrapAlignment.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<Wrap> whereAlignment(MatchProp<WrapAlignment> match) {
  return withDiagnosticProp<WrapAlignment>('alignment', match);
}