How to save to local storage (shared preferences) in Flutter

Share this post

To save to local storage or Shared Preferences (as it’s called in Android) in Flutter, you can use the shared_preferences plugin. First of all, you have to add the dependency to your pubspec.yaml file: Writing data to local storage in Flutter You can write data to local storage is easy. We just need to get […]

How to use progress indicators in Flutter

Share this post

There are 2 dedicated widgets in Flutter that can help you display progress in your Flutter apps, namely LinearProgressIndicator and CircularProgressIndicator. You can use both of them just the way you use any other widget and you can position them however you want. How to use LinearProgressIndicator in Flutter A LinearProgressIndicator is basically a progress […]

How to align widgets in Flutter: Part 1

Share this post

You can find Part 2 here I remember when I started using Flutter, there were a lot of use cases in terms of alignment, where I didn’t know exactly how to approach them. I think alignment of widgets is one of the most important parts in Flutter UI (as it is in web development) and […]