title: How to create and export csv file in flutter?
body: <p>I have List&lt;&gt; data</p>
  <pre><code>List&lt;dynamic&gt; associateList = [
  {&quot;number&quot;: 1, &quot;lat&quot;: &quot;14.97534313396318&quot;, &quot;lon&quot;: &quot;101.22998536005622&quot;},
  {&quot;number&quot;: 2, &quot;lat&quot;: &quot;14.97534313396318&quot;, &quot;lon&quot;: &quot;101.22998536005622&quot;},
  {&quot;number&quot;: 3, &quot;lat&quot;: &quot;14.97534313396318&quot;, &quot;lon&quot;: &quot;101.22998536005622&quot;},
  {&quot;number&quot;: 4, &quot;lat&quot;: &quot;14.97534313396318&quot;, &quot;lon&quot;: &quot;101.22998536005622&quot;}
  </code></pre>
  <p>];</p>
  <p>and I want csv file like it.</p>
  <p><a href="https://i.stack.imgur.com/9c5ei.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/9c5ei.jpg" alt="enter image description here" /></a></p>
  <p>and How to export file to device?</p>