PowerSync SDK for Dart

PowerSync is a sync engine for building local-first apps with instantly-responsive UI/UX and simplified state transfer. Syncs between SQLite on the client-side and Postgres, MongoDB or MySQL on the server-side.

This package (powersync_core) is the PowerSync client SDK for Dart.

Note

This is a Dart library for Powersync for use cases such as server-side Dart or non-Flutter Dart environments. This library requires sqlite3 with extension loading enabled to be installed on your system.

If you are developing a Flutter application, use powersync or powersync_sqlcipher instead. The powersync_core package is for non-Flutter Dart environments.

Installation

dart pub add powersync_core

Changelog

A changelog for this SDK is available here.

API Reference

The full API reference for this SDK can be found here.

Found a bug or need help?

  • Join our Discord server where you can browse topics from our community, ask questions, share feedback, or just say hello :)
  • Please open a GitHub issue when you come across a bug.
  • Have feedback or an idea? Submit an idea via our public roadmap or schedule a chat with someone from our product team.

Libraries

powersync_core
PowerSync Dart SDK.
sqlite3
Re-exports sqlite3 to expose sqlite3 without adding it as a direct dependency.
sqlite3_common
Re-exports sqlite3_common to expose sqlite3_common without adding it as a direct dependency.
sqlite3_open
Re-exports sqlite3_open to expose sqlite3_open without adding it as a direct dependency.
sqlite_async
Re-exports sqlite_async to expose sqlite_async without adding it as a direct dependency.