Storing passwords or tokens in SharedPreferences saves them in plaintext accessible to other processes.
Use flutter_secure_storage or the platform keystore for sensitive values.