vchatcloud_flutter_sdk 1.0.0 vchatcloud_flutter_sdk: ^1.0.0 copied to clipboard
vchatcloud_flutter_sdk is a chat-related package that helps implement chat applications for multiple platforms such as web, Android, and ios. There is an example implemented in flutter on the homepage.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add vchatcloud_flutter_sdk
With Flutter:
$ flutter pub add vchatcloud_flutter_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
vchatcloud_flutter_sdk: ^1.0.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:vchatcloud_flutter_sdk/channel.dart';
import 'package:vchatcloud_flutter_sdk/channel_handler.dart';
import 'package:vchatcloud_flutter_sdk/constants.dart';
import 'package:vchatcloud_flutter_sdk/model/channel_result_model.dart';
import 'package:vchatcloud_flutter_sdk/model/chat_room_model.dart';
import 'package:vchatcloud_flutter_sdk/model/file_model.dart';
import 'package:vchatcloud_flutter_sdk/model/google_translation_model.dart';
import 'package:vchatcloud_flutter_sdk/model/open_graph_model.dart';
import 'package:vchatcloud_flutter_sdk/model/upload_file_model.dart';
import 'package:vchatcloud_flutter_sdk/model/user_model.dart';
import 'package:vchatcloud_flutter_sdk/model/v_chat_cloud_error.dart';
import 'package:vchatcloud_flutter_sdk/util.dart';
import 'package:vchatcloud_flutter_sdk/v_chat_cloud.dart';
import 'package:vchatcloud_flutter_sdk/v_chat_cloud_api.dart';
import 'package:vchatcloud_flutter_sdk/v_chat_cloud_sdk.dart';