Commit 7768b83a authored by zhouteng's avatar zhouteng

更新readme和插件版本号

parent 7d6ac863
## 1.0.5
* Fix bugs when sharing videos to some apps like WeChat.
## 1.0.4
* Updated to Support Latest Android Dependencies
......
# ShareExtend
调用系统分享的Flutter组件,支持分享文本,图片和文件
调用系统分享的Flutter组件,支持分享文本、图片、视频和文件
## 安装
```
dependencies:
share_extend: "^1.0.4"
share_extend: "^1.0.5"
```
## 导入
```
......@@ -24,6 +24,11 @@ File f =
await ImagePicker.pickImage(source: ImageSource.gallery);
ShareExtend.share(f.path, "image");
//分享视频
File f = await ImagePicker.pickVideo(
source: ImageSource.gallery);
ShareExtend.share(f.path, "video");
//分享文件
Directory dir = await getApplicationDocumentsDirectory();
File testFile = new File("${dir.path}/flutter/test.txt");
......
name: share_extend
description: A flutter plugin to share text, image, file with system ui. It is compatible with both andorid and ios.
version: 1.0.4
version: 1.0.5
author: zhouteng <qfszyq@gmail.com>
homepage: https://github.com/zhouteng0217/ShareExtend
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment