u/BramVbilsenin r/FlutterDev • Recommends
JSON Storage Tutorial - Creating and using JSON files!
10K subscribers • 3 videos on Hallway
Intermediate. Assumes working knowledge.
36K views8 years ago2 recommendations
Mobile developmentDatabases and dataFlutter and React NativeNoSQL and document databases
Bram Vanbilsen explains how to read and write local JSON files, and encode and decode Dart maps to JSON in Flutter.
In this tutorial, I guide you through using JSON files to store data locally and how to work with them in Flutter. You'll learn how to create new JSON files locally on your device, how to write to the JSON file, how to read the JSON file and how to encode Dart maps to JSON objects and decode JSON objects to Dart maps. Github repo (for this project): github.com/bramvbilsen/Flutter-JSON-Storage-Tutorial Introduction to Flutter: youtu.be/CEPCGXQ7IQg NOTE: I'm using the android simulator, but you can simply open an iPhone simulator to run the same code! Be sure to ask for help in the comments if you need any help. Suggestions for future Flutter tutorials are also very welcome! :D Flutter is an SDK owned by Google to create applications for Android and iOS using a single codebase. Flutter uses the Dart programming language (also owned by Google). Flutter was in alpha when I released this video, so things might still change a bit. But the SDK is already mature enough to write some cool production apps!What people say. Recommended as a helpful resource for learning how to persist user-created objects locally in Flutter.
u/BramVbilsenin r/FlutterDev • Recommends
u/KingBaalin r/FlutterDev • Recommends
On “[Question] How can I store user created objects in local storage and retrieve to a List?”