title: The date of yesterday in flutter
body: <p>How can I calculate <strong>yesterdays date</strong> in dart/flutter?
  I have the date of today:</p>
  
  <pre><code>DateTime.now()
  </code></pre>
  
  <p>But I <strong>can't just do -1</strong>.</p>