How can I clear/dispose Shared Preferences when logging out of a Flutter app?
Sorry my bad English in advance. I would like to find out how I can clear SharedPreferences when I log out of the application. In my case, the Logout button is on screen 1 (HomePage). On screen 2, I'm keeping…