drift.wasm library Null safety

A (very!) experimental web-compatible version of drift that doesn't depend on external JavaScript sources.

This library is highly experimental and not production readdy at the moment. It exists for development and testing purposes for interested users.

While this library is marked as experimental, it is not subject to semantic versioning. Future drift updates with a minor update might break APIs defined in this package or change the way data is persisted in backwards-incompatible ways.

To use drift on the web, use the package:drift/web.dart library as described in the documentation.


An experimental, WebAssembly based implementation of a drift sqlite3 database. [...]


WasmDatabaseSetup = void Function(CommonDatabase database)
Signature of a function that can perform setup work on a database before drift is fully ready. [...]