fluttercommunity / fluttercommunity/plus_plugins
[Request]: Share URL on web
Open
enhancement
triage
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Plugin
share_plus
### Use case
I tried to use this plugin to share a link from a website, and there is no way to do that. You can only share a text, and the system would not know how to share that. So I instead had to use this
```dart
html.window.navigator.share({
'title': 'Share Character',
'url': '${Uri.base.scheme}://${Uri.base.authority}/#/character/${controller.character!.id}',
});
```
Since the plugin only shares files or text
### Proposal
Adding a way to share link and not just text or file, something like the `html.window.navigator.share({})`
Contributor guide
Assessment
This issue has not been assessed yet.