title: How to delete a file from the local storage in Flutter?
body: <p>Actually <em>i want to overwrite the file</em> in local storage of phone but it gives me the error</p>
  
  <pre><code>    I/flutter ( 3835): /storage/emulated/0/Android/data/com.example.temp/files/flutter_audio_recorder_
  I/flutter ( 3835): Exception: A file already exists at the path :/storage/emulated/0/Android/data/com.example.temp/files/flutter_audio_recorder_.wav
  </code></pre>
  
  <p><strong>so how can i delete this file first ?</strong></p>
  
  <p>i have stored the wav file path in this variable ==>  var dirPath ;</p>