Flutter Change Password with sharedpreferences

You need to set the value of id first.

SharedPreferences pref = await SharedPreferences.getInstance();
pref.setString('id','value you want');

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top