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
1cd2adfa
Commit
1cd2adfa
authored
Oct 09, 2018
by
zhouteng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
90996e22
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
.gitattributes
.gitattributes
+1
-0
README.md
README.md
+5
-3
screenshot.png
screenshot.png
+0
-0
No files found.
.gitattributes
0 → 100644
View file @
1cd2adfa
* linguist-language=Dart
\ No newline at end of file
README.md
View file @
1cd2adfa
# ShareExtend
调用系统分享的Flutter组件,支持分享文本,图片和文件
![
screenshot
](
./screenshot.png
)
## 安装
```
dependencies:
share_extend: "^0.0.1"
```
```
## 导入
```
import 'package:share_extend/share_extend.dart';
...
...
@@ -37,7 +39,7 @@ import 'package:share_extend/share_extend.dart';
</provider>
```
```
{your_authorities}``` 你定义的authorities
```
{your_provider_file}
``` 你的provider配置文件名
工程的res文件夹下,新建一个xml文件夹,添加一个{your_provider_file}的xml文件,配置类似如下:
...
...
@@ -53,7 +55,7 @@ import 'package:share_extend/share_extend.dart';
</resources>
```
### Dart中调用
```
// authorities 上面定义authorities
...
...
screenshot.png
0 → 100644
View file @
1cd2adfa
114 KB
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