databaseFactoryFfiNoIsolate top-level property

DatabaseFactory get databaseFactoryFfiNoIsolate

The database factory to use for ffi without isolate

SQLite runs in the calling isolate. Use it in Flutter widget tests (testWidgets) or from a background isolate you already own; in the main isolate of an application, a long query blocks the UI.

Currently supports Win/Mac/Linux.

Implementation

DatabaseFactory get databaseFactoryFfiNoIsolate =>
    databaseFactoryFfiNoIsolateImpl;