Recover accidentally deleted flutter code files

  1. Open your android studio.
  2. Right click on the the ( lib FOLDER ) .
  3. Click on the local history
  4. then show history.
  5. choose which date you want to recover your files.
  6. click on it and choose revert.

In this way to recover all files of the lib folder, if you want to recover only code of a specific file , then you start with that file not the lib folder

See Example:


Leave a Reply

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