Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuoyuan committed Dec 13, 2018
1 parent b31a450 commit eee0b6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ You can use it share to Facebook , WhatsApp , Twitter And System Share UI. <br/>
Only Android because I don't have a Mac. <br/>

Note: This plugin is still under development, and some APIs might not be available yet. Feedback and Pull Requests are most welcome!

## Getting Started

add `flutter_share_me` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).
Expand All @@ -18,10 +19,10 @@ import 'package:flutter_share_me/flutter_share_me.dart';

## Methods

#### shareToFacebook({String url, String msg})
#### shareToTwitter({String url, String msg})
#### shareToWhatsApp({String msg})
#### shareToSystem({String msg})
#### shareToFacebook({String url, String msg}) share to facebook
#### shareToTwitter({String url, String msg}) share to twitter
#### shareToWhatsApp({String msg}) share to whatsapp
#### shareToSystem({String msg}) use system share ui

These methods will return "success" if they successfully jump to the corresponding app.

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_share_me
description: Flutter Plugin for sharing contents to social media.
version: 0.0.2
version: 0.1.0
author: LiZhuoyuan <[email protected]>
homepage: https://github.com/lizhuoyuan/flutter_share_me

Expand Down

0 comments on commit eee0b6c

Please sign in to comment.