Issue
I am working on a project using Android Studio that should be getting data from a sqlite database file. For this I am using the sqflite package, and I will have no need to update the database from the app.
I would like to know how I could incorporate my premade database file into this flutter app instead of relying on the onCreate method and placing SQL commands in my dart srouce.
Thank you!
Solution
i think you are looking for this the idea is just to add it to your assets and load it
- also take a look at this
Answered By - Raouf Rahiche
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.