hasAlignmentWhere method
Expects that alignment of Container matches the condition in match
.
Example usage:
spot<Container>().existsOnce().hasAlignmentWhere((it) => it.equals(Alignment.center));
Implementation
WidgetMatcher<Container> hasAlignmentWhere(
MatchProp<AlignmentGeometry> match) {
return hasDiagnosticProp<AlignmentGeometry>('alignment', match);
}