whereHeight method

Creates a WidgetSelector that finds all SizedBox where height matches the condition.

Example usage:

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

Implementation

@useResult
WidgetSelector<SizedBox> whereHeight(MatchProp<double> match) {
  return withDiagnosticProp<double>('height', match);
}