libsql
libsql copied to clipboard
Flutter support
@simolus3 did an awesome job laying the foundations for a drop in replacement I think, see prior art: sqlite3.dart
Instead of using the sqlite3 library from the OS, you can also ship a custom sqlite3 library along with your app. You can override the way this package looks for sqlite3 to instead use your custom library. For instance, you can release your own
sqlite3.sonext to your application
We can consider using the bindings via dart:ffi / DynamicLibrary route
The alternative can be the wasm route, supplying replacement for sqlite3.wasm for broader Flutter platform support