Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
README
  • Loading branch information
xster committed May 5, 2017
commit 4bf074a3ff7126d9ecd0397fcb2508185e6d5b2d
27 changes: 23 additions & 4 deletions packages/share/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
# share

A new flutter plugin project.
A Flutter plugin to share content from your Flutter app via the platform's
share dialog.

## Getting Started
Wraps the ACTION_SEND Intent on Android and UIActivityViewController
on iOS.

For help getting started with Flutter, view our online
[documentation](http://flutter.io/).
## Usage

To use, first add `share` as a [dependency in your pubspec.yaml](https://flutter.io/platform-plugins/).
```yaml
dependencies:
flutter:
sdk: flutter
share: ^0.1.0
```

Import the library via
```dart
import 'package:share/share.dart';
```

Then invoke the static `share` method anywhere in your Dart code
```dart
share('check out my website https://example.com');
```