I am pretty new to flutter and currently, I am writing an app that needs to store key-value pairs to disk and read it each time the app is open.
I based on this document, using shared preference package, and it works fine. However, debugging is not easy, I am used to web development, and the similar idea, localStorage can be easily accessed and edited in run time using almost any browser such as Chrome, this feature makes it easy to develop and debug.
So my question is that is there some equivalence in Flutter development that I can easily edit the shared preference storage? One of the most needed functionality is to clear everything in the shared storage, so I can repeat running a clean program and debug.
Right now I can only do this by writing a functional code like preferences.clear()
and running it once, which is a pain.
I am using VSCode + Android AVD for Flutter development.
Thank you!