talkplus_flutter_sdk 0.6.4 copy "talkplus_flutter_sdk: ^0.6.4" to clipboard
talkplus_flutter_sdk: ^0.6.4 copied to clipboard

TalkPlus Flutter SDK

Use this package as a library

Depend on it

Run this command:

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 flutter pub get):

dependencies:
  talkplus_flutter_sdk: ^0.6.4

Alternatively, 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:talkplus_flutter_sdk/entity/TPEntity.dart';
import 'package:talkplus_flutter_sdk/entity/channel/TPChannel.dart';
import 'package:talkplus_flutter_sdk/entity/channel/TPMember.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';