take_screenshot 0.0.2
take_screenshot: ^0.0.2 copied to clipboard
Package to take screenshots in different ways and be able to share them in png format with other applications
We analyzed this package 26 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
10 out of 18 API elements (55.6 %) have documentation comments.
Some symbols that are missing documentation: take_screenshot
, take_screenshot.TakeScreenshot.TakeScreenshot.new
, take_screenshot.TakeScreenshot.child
, take_screenshot.TakeScreenshot.containerKey
, take_screenshot.TakeScreenshot.controller
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:take_screenshot/take_screenshot.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus_platform_interface/share_plus_platform_interface.dart
that imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dart
that imports:package:share_plus_platform_interface/method_channel/method_channel_share.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:take_screenshot/take_screenshot.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus_platform_interface/share_plus_platform_interface.dart
that imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dart
that imports:package:share_plus_platform_interface/method_channel/method_channel_share.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that 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: 'shareFiles' is deprecated and shouldn't be used. Use shareXFiles instead.
lib/take_screenshot.dart:83:19
╷
83 │ await Share.shareFiles([file.path],
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/take_screenshot.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
path_provider |
^2.0.9 |
2.1.5 | 2.1.5 | |
pedantic |
^1.11.1 |
1.11.1 | 1.11.1 | Discontinued |
share_plus |
^4.0.4 |
4.5.3 | 12.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
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 | |
share_plus_linux |
- | 3.0.1 | 3.0.1 | Discontinued |
share_plus_macos |
- | 3.0.1 | 3.0.1 | Discontinued |
share_plus_platform_interface |
- | 3.4.0 | 6.1.0 | |
share_plus_web |
- | 3.1.0 | 3.1.0 | Discontinued |
share_plus_windows |
- | 3.0.1 | 4.0.0 | Discontinued |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.2 | 6.3.2 | |
url_launcher_android |
- | 6.3.21 | 6.3.21 | |
url_launcher_ios |
- | 6.3.4 | 6.3.4 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.3 | 3.2.3 | |
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.1 | 4.5.1 | |
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 `^4.0.4` on share_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions share_plus
to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- pedantic.
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.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.