talkplus_flutter_sdk 0.0.2 talkplus_flutter_sdk: ^0.0.2 copied to clipboard
TalkPlus Flutter SDK
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add talkplus_flutter_sdk
With Flutter:
$ flutter pub add talkplus_flutter_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
talkplus_flutter_sdk: ^0.0.2
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:talkplus_flutter_sdk/entity/TPEntity.dart';
import 'package:talkplus_flutter_sdk/entity/channel/TPChannel.dart';
import 'package:talkplus_flutter_sdk/entity/channel/TPMessage.dart';
import 'package:talkplus_flutter_sdk/entity/user/TPUser.dart';
import 'package:talkplus_flutter_sdk/exception/TPException.dart';
import 'package:talkplus_flutter_sdk/talkplus_flutter.dart';
import 'package:talkplus_flutter_sdk/util/HttpUtil.dart';
import 'package:talkplus_flutter_sdk/util/Logger.dart';
import 'package:talkplus_flutter_sdk/util/LruCache.dart';
import 'package:talkplus_flutter_sdk/util/SharedPref.dart';