whereWidth method

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

Example usage:

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

Implementation

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