(It's added in the project but if you don't have it, add it). Go to the pubspec.yaml file and add the sqflite package. Open up the project and lets get started. ![]() to follow along with the tutorial I'd recommend you to download it here. For this tutorial I created a little Todo starting application with some basic stacked architecture setup and some UI bits. Migration management (Falls into 1, but better demonstrated after 3)īefore we can move onto the 3 topics above we have to setup SQLite in the codebase.We will be focussing on 3 main things in this tutorial. That is what we'll be using today through the sqflite package. The most common run-time for SQL that works on nearly every device, including mobile, is SQLite. The most common approach is a SQL database. This allows you to give a better experience to users in cases where the initial requests to get information might take some time. Local storage or the "Offline first" data approach is common in the modern mobile applications.
0 Comments
Leave a Reply. |