Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShareExtend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
ShareExtend
Commits
7768b83a
Commit
7768b83a
authored
Mar 25, 2019
by
zhouteng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新readme和插件版本号
parent
7d6ac863
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
CHANGELOG.md
CHANGELOG.md
+3
-0
README.md
README.md
+7
-2
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
7768b83a
## 1.0.5
*
Fix bugs when sharing videos to some apps like WeChat.
## 1.0.4
*
Updated to Support Latest Android Dependencies
...
...
README.md
View file @
7768b83a
# 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");
...
...
pubspec.yaml
View file @
7768b83a
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment