screenshot_modes 0.0.6 screenshot_modes: ^0.0.6 copied to clipboard
easy automatics way for take screenshot for your app , screenshot mode work as plugin for device_preview package
We analyzed this package 6 days ago, and awarded it 130 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
22 out of 47 API elements (46.8 %) have documentation comments.
Some symbols that are missing documentation: screenshot_modes
, screenshot_modes.AyncCallbackContext
, screenshot_modes.DevicePreviewHelper
, screenshot_modes.DevicePreviewHelper.DevicePreviewHelper
, screenshot_modes.DevicePreviewHelper.changeDevice
.
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:screenshot_modes/screenshot_modes.dart
that imports:package:screenshot_modes/src/modal.dart
that imports:package:screenshot_modes/src/core.dart
that imports:package:device_preview/plugins.dart
that imports:package:device_preview/src/plugins/file_explorer.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:screenshot_modes/screenshot_modes.dart
that imports:package:screenshot_modes/src/simple_screenshot.dart
that imports:package:device_preview/device_preview.dart
that imports:package:device_preview/src/views/device_preview_style.dart
that imports:package:device_preview/src/state/store.dart
that imports:package:device_frame/device_frame.dart
that imports:package:device_frame/src/frame.dart
that imports:package:flutter_svg/flutter_svg.dart
that imports:package:flutter_svg/svg.dart
that imports:package:flutter_svg/src/vector_drawable.dart
that imports:package:flutter_svg/src/svg/xml_parsers.dart
that imports:package:flutter_svg/src/svg/parsers.dart
that imports:package:flutter_svg/src/utilities/http.dart
that imports:package:flutter_svg/src/utilities/_http_io.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/core.dart:78:28
╷
78 │ WidgetsBinding.instance!.addPostFrameCallback((_) {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core.dart
INFO: The import of 'dart:ui' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.
lib/src/core.dart:1:8
╷
1 │ import 'dart:ui';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
device_preview |
^0.8.0 |
0.8.0 | 1.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
provider |
^5.0.0 |
5.0.0 | 6.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.1 | 1.1.2 |
collection |
- | 1.18.0 | 1.19.1 |
device_frame |
- | 0.5.2 | 1.2.0 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_localizations |
- | 0.0.0 | 0.0.0 |
flutter_svg |
- | 0.23.0+1 | 2.0.14 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
freezed_annotation |
- | 0.15.0 | 2.4.4 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
intl |
- | 0.19.0 | 0.20.0 |
json_annotation |
- | 4.9.0 | 4.9.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.0 | 1.9.1 |
path_drawing |
- | 0.5.1+1 | 1.0.1 |
path_parsing |
- | 0.2.1 | 1.1.0 |
path_provider |
- | 2.1.5 | 2.1.5 |
path_provider_android |
- | 2.2.12 | 2.2.12 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
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 |
petitparser |
- | 5.4.0 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
shared_preferences |
- | 2.3.3 | 2.3.3 |
shared_preferences_android |
- | 2.3.3 | 2.3.3 |
shared_preferences_foundation |
- | 2.5.3 | 2.5.3 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 5.4.1 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.8.0` on device_preview does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions device_preview
to update the constraint.
The constraint `^5.0.0` on provider does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions provider
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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.