Tag Archives: MainAxisAlignment

Flutter – Saving Data in Local using Shared Preferences

By | October 4, 2018

This simple example demonstrates saving an integer value in the local shared preferences. We will use a flutter plugin called shared_preferences for this. You can read more about the plugin from here. Add Dependency First thing is to add the package to the dependencies. Go to pubspec.yaml and add the package. Example