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

1

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
  • 6,374
  • 1
  • 47
  • 60
Raouf Rahiche
  • 24,700
  • 9
  • 75
  • 73