libaqueous 0.0.1 copy "libaqueous: ^0.0.1" to clipboard
libaqueous: ^0.0.1 copied to clipboard

outdated

A Matrix SDK in Dart!

libaqueous #

A Matrix SDK in Dart!

Currently it targets Flutter, web and Dart VM platforms.

Usage #

  1. Set up store
final store = SembastStore();
await store.open();
  1. Construct and load client
final client = Client(homeserver, username, token, store);
await client.loadFromStore();
  1. Register handler
EventHandler.eventBus.on<RoomNewEvent>().listen((e) {
  print(e.event);
});
  1. Sync
client.startSync();

Features and Bugs #

Please file feature requests and bugs at the issue tracker.