How to cache data securely in Flutter using cache_x package

cache_x | Flutter Package (pub.dev) Caching is just a simple key-value pair data saving procedure. Usually for caching data locally in flutter we use shared_preferences package in flutter. Shared Preferences package under the hood uses localStorage on web, SharedPreferences on Android and NSUserDefaults on iOS. But the problem is shared_preferences package stores plain text which is not secure at all. Especially if you are storing…

Read More

×

Hello!

Click any one of the options below to chat on WhatsApp or send me an email to ft@ftkhan.me

× How can I help you?