How do I delete pictures from my local storage flutter?

Create this method: Future<void> deleteFile(File file) async { try { if (await file. exists()) { await file. delete(); } } catch (e) { // Error in getting access to the file. } }

Sizin İçin Seçtik  50 TL ile kaç Shiba Coin alınır?

Leave a Reply

Your email address will not be published. Required fields are marked *