n></span>)
      
    </section>
    <section class="desc markdown">
      <p>Returns a new offset with translateX added to the x component and
translateY added to the y component.</p>
<p>If the arguments come from another <a href="dart-ui/Offset-class.html">Offset</a>, consider using the <code>+</code> or <code>-</code>
operators instead:</p>
<pre class="language-dart"><code class="language-dart">Offset a = const Offset(10.0, 10.0);
Offset b = const Offset(10.0, 10.0);
Offset c = a + b; // same as: a.trans