hasMarginWhere method

Expects that margin of Container matches the condition in match.

Example usage:

spot<Container>().existsOnce().hasMarginWhere((it) => it.equals(EdgeInsets.all(8.0)));

Implementation

WidgetMatcher<Container> hasMarginWhere(MatchProp<EdgeInsetsGeometry> match) {
  return hasDiagnosticProp<EdgeInsetsGeometry>('margin', match);
}