title: How to save File in Downloads folder in flutter?
body: <p>In my flutter application I can create a pdf file, then I want to save it in Download folder.
  I'm trying to achieve this goal with path_provider package, but I can't.</p>
  <p>This is the sample code from flutter's cookbook, If I use it I don't get any error, but I don't find the file either.</p>
  <pre><code>final directory = await getApplicationDocumentsDirectory();
  File file2 = File(&quot;${directory.path}/test.txt&quot;);
  await file2.writeAsString('TEST ONE');
  </code></pre>
  <p>What's the correct way to do it?</p>