提交 0c5f0530 authored 作者: JarvanMo's avatar JarvanMo

update readme

上级 d078d031
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
## 写在前面 ## 写在前面
使用```Fluwx```之前,强烈建议先阅读[微信SDK官方文档](https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1) 使用```Fluwx```之前,强烈建议先阅读[微信SDK官方文档](https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1)
这有助于你使用```Fluwx``````Fluwx```的api字段名称基本和官方的字段名称是一致的。 这有助于你使用```Fluwx``````Fluwx```的api字段名称基本和官方的字段名称是一致的。
ios部分还在持续开发中。
## 引入 ## 引入
```pubspec.yaml```文件中添加如下代码:
```yaml
dependencies:
fluwx: ^0.0.1
```
## 初始化 ## 初始化
```dart ```dart
Fluwx.registerApp(RegisterModel(appId: "your app id", doOnAndroid: true, doOnIOS: true)); Fluwx.registerApp(RegisterModel(appId: "your app id", doOnAndroid: true, doOnIOS: true));
......
...@@ -5,7 +5,7 @@ author: JarvanMo <jarvan.mo@gmail.com> ...@@ -5,7 +5,7 @@ author: JarvanMo <jarvan.mo@gmail.com>
homepage: https://github.com/JarvanMo/fluwx homepage: https://github.com/JarvanMo/fluwx
environment: environment:
sdk: '>=2.0.0 <3.0.0' sdk: ">=2.0.0-dev.58.0 <3.0.0"
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论