hasSpacingWhere method

WidgetMatcher<Wrap> hasSpacingWhere(
  1. MatchProp<double> match
)

Expects that spacing of Wrap matches the condition in match.

Example usage:

spot<Wrap>().existsOnce().hasSpacingWhere((it) => it.isGreaterThan(10.5));

Implementation

WidgetMatcher<Wrap> hasSpacingWhere(MatchProp<double> match) {
  return hasDiagnosticProp<double>('spacing', match);
}