Flutter Engine
The Flutter Engine
|
This is an illustrative sample for how to use dart:ffi
.
For Windows, Linux, and MacOS, you should make sure, sqlite dev lib installed on your system.
Windows user can download dll from https://www.sqlite.org/download.html
If you do not have any sqlite3.dll or so file, you may found error message:
Building and running this sample is done through pub. Running dart run example/main
should produce the following output.
A tutorial walking through the code is available in docs/sqlite-tutorial.md. For information on how to use this package within a Flutter app, see docs/android.md. (Note: iOS is not yet supported).