whereMargin method
Creates a WidgetSelector that finds all Container where margin matches the condition.
Example usage:
spot<Container>().whereMargin((it) => it.equals(EdgeInsets.all(8.0))).existsOnce();
Implementation
@useResult
WidgetSelector<Container> whereMargin(MatchProp<EdgeInsetsGeometry> match) {
return withDiagnosticProp<EdgeInsetsGeometry>('margin', match);
}