flutter save value to sharedpreferences code example Example: shared prefs flutter dependencies: shared_preferences: ^0.5.12+4