e" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">Rectangle boundingBox(Rectangle other) {
  var right = max(this.left + this.width, other.left + other.width);
  var bottom = max(this.top + this.height, other.top + other.height);

  var left = min(this.left, other.left);
  var top = min(this.top, other.top);

  return new Rectangle(left, top, right - left, bottom - top);
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <