share_plus_web 3.1.0
share_plus_web: ^3.1.0 copied to clipboard
Web platform implementation of share_plus
We analyzed this package 44 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: share_plus_web, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: share_plus_web.
Homepage URL doesn't exist.
At the time of the analysis https://plus.fluttercommunity.dev/ was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
9 out of 10 API elements (90.0 %) have documentation comments.
Some symbols that are missing documentation: share_plus_web.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:share_plus_web/share_plus_web.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:share_plus_web/share_plus_web.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:share_plus_web/share_plus_web.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:share_plus_web/share_plus_web.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:share_plus_web/share_plus_web.dartthat declares support for platforms:Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Web`.
Because:
package:share_plus_web/share_plus_web.dartthat imports:package:share_plus_platform_interface/share_plus_platform_interface.dartthat imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dartthat imports:package:share_plus_platform_interface/method_channel/method_channel_share.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:share_plus_web/share_plus_web.dartthat imports:package:share_plus_platform_interface/share_plus_platform_interface.dartthat imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dartthat imports:package:share_plus_platform_interface/method_channel/method_channel_share.dartthat imports:package:path_provider/path_provider.dartthat imports:package:path_provider_platform_interface/path_provider_platform_interface.dartthat imports:package:path_provider_platform_interface/src/method_channel_path_provider.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/share_plus_web.dart:1:1
╷
1 │ import 'dart:html' as html;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/share_plus_web.dart
INFO: The import of 'package:cross_file/cross_file.dart' is unnecessary because all of the used elements are also provided by the import of 'package:share_plus_platform_interface/share_plus_platform_interface.dart'.
lib/share_plus_web.dart:4:8
╷
4 │ import 'package:cross_file/cross_file.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/share_plus_web.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cross_file |
^0.3.3+2 |
0.3.5 | 0.3.5 | |
meta |
^1.7.0 |
1.16.0 | 1.17.0 | |
mime |
^1.0.0 |
1.0.6 | 2.0.0 | |
share_plus_platform_interface |
^3.0.2 |
3.4.0 | 6.1.0 | |
url_launcher |
^6.1.2 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.24 | 6.3.24 | |
url_launcher_ios |
- | 6.3.5 | 6.3.5 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.4 | 3.2.4 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.0` on mime does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions mime to update the constraint.
The constraint `^3.0.2` on share_plus_platform_interface does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions share_plus_platform_interface to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.