electricsql_flutter
Extra set of utilities when using Electric in a Flutter application to complement electricsql
.
Features
ConnectivityStateController
A ChangeNotifier
that you can use if you want to get notified about the ConnectivityState
state between the app and the Electric service.
It can be instantiated after electrifying the database:
final electricClient = await electrify(...);
// Make sure to call [init] at the begining and call [dispose] when needed.
final controller = ConnectivityStateController(electricClient)..init();
Libraries
- drivers/drift
- drift Driver
- drivers/sqlite3
- sqlite3 Driver
- electricsql_flutter
- Flutter specific utilities for Electric SQL