locality_social_cloud 2.2.0
locality_social_cloud: ^2.2.0 copied to clipboard
Write social apps with Flutter. This code connects to the backend of Locality Social Cloud to provide realtime state synchronization across devices.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add locality_social_cloudThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
locality_social_cloud: ^2.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:locality_social_cloud/cache.dart';
import 'package:locality_social_cloud/cache/repository/message_repository.dart';
import 'package:locality_social_cloud/locality_persistence_sqlite.dart';
import 'package:locality_social_cloud/locality_social_cloud_interface.dart';
import 'package:locality_social_cloud/shared_space.dart';
import 'package:locality_social_cloud/throttled_change_notifier.dart';