hasHeightWhere method

WidgetMatcher<SizedBox> hasHeightWhere(
  1. MatchProp<double> match
)

Expects that height of SizedBox matches the condition in match.

Example usage:

spot<SizedBox>().existsOnce().hasHeightWhere((it) => it.isGreaterThan(10.5));

Implementation

WidgetMatcher<SizedBox> hasHeightWhere(MatchProp<double> match) {
  return hasDiagnosticProp<double>('height', match);
}