1

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!

AAvery
  • 128
  • 6

1 Answers1

2

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
qix
  • 7,228
  • 1
  • 55
  • 65
Raouf Rahiche
  • 28,948
  • 10
  • 85
  • 77