withSpacing method
Creates a WidgetSelector that finds all Wrap where spacing equals (==) value
.
Example usage:
spot<Wrap>().withSpacing(10.5).existsOnce();
Implementation
@useResult
WidgetSelector<Wrap> withSpacing(double? value) {
return withDiagnosticProp<double>(
'spacing', (it) => value == null ? it.isNull() : it.equals(value));
}