tim_fluttify 0.0.1

  • Readme
  • Changelog
  • Example
  • Installing
  • --

Logo

腾讯 即时通讯 组件 #

基于腾讯IM V2版本接口. 目前处于初期, 如有需求请提issue或者技术支持工单, 技术支持工单将以最高优先级处理.

微信支持支付宝支持

LICENSE #

Copyright 2020 yohom

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

0.0.1 #

  • feat: 登录 发送文字消息 获取会话列表 添加好友 获取好友列表

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:tim_fluttify/tim_fluttify.dart';
import 'package:tim_fluttify_example/src/di/injector.dart';

import 'src/app.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  Injector.setup(false);

  runApp(TimApp());
  Tim.instance.init(1400376735);
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  tim_fluttify: ^0.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:tim_fluttify/tim_fluttify.dart';
  
Awaiting analysis to complete.