hasCrossAxisAlignment method
Expects that crossAxisAlignment of Wrap equals (==) value
.
Example usage:
spot<Wrap>().existsOnce().hasCrossAxisAlignment(WrapCrossAlignment.values.first);
Implementation
WidgetMatcher<Wrap> hasCrossAxisAlignment(WrapCrossAlignment? value) {
return hasDiagnosticProp<WrapCrossAlignment>('crossAxisAlignment',
(it) => value == null ? it.isNull() : it.equals(value));
}