locality_social_cloud 1.3.0 locality_social_cloud: ^1.3.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 Dart:
$ dart pub add locality_social_cloud
With Flutter:
$ flutter pub add locality_social_cloud
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
locality_social_cloud: ^1.3.0
Alternatively, your editor might support dart pub get
or 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/api/api.dart';
import 'package:locality_social_cloud/api/cache.dart';
import 'package:locality_social_cloud/api/discover_users.dart';
import 'package:locality_social_cloud/api/event_waiter.dart';
import 'package:locality_social_cloud/api/geo_channel.dart';
import 'package:locality_social_cloud/api/locality_auth.dart';
import 'package:locality_social_cloud/api/locality_event.dart';
import 'package:locality_social_cloud/api/locality_social_cloud.dart';
import 'package:locality_social_cloud/api/locality_user.dart';
import 'package:locality_social_cloud/api/logged_in_user.dart';
import 'package:locality_social_cloud/api/message_queue.dart';
import 'package:locality_social_cloud/api/message_repository.dart';
import 'package:locality_social_cloud/api/one_to_many.dart';
import 'package:locality_social_cloud/api/payload_cipher.dart';
import 'package:locality_social_cloud/api/pub_sub.dart';
import 'package:locality_social_cloud/api/pubsub_supervisor.dart';
import 'package:locality_social_cloud/api/session.dart';
import 'package:locality_social_cloud/api/shared_key_repository.dart';
import 'package:locality_social_cloud/api/supervisor.dart';
import 'package:locality_social_cloud/api/tele_repo.dart';
import 'package:locality_social_cloud/api/timeline.dart';
import 'package:locality_social_cloud/api/topic_auth.dart';
import 'package:locality_social_cloud/api/waiting_events.dart';
import 'package:locality_social_cloud/api/waiting_message.dart';