yx_virtual_device 1.0.0
yx_virtual_device: ^1.0.0 copied to clipboard
A Flutter package that lets you simulate various device screens directly inside your running app. Easily test your responsive UI on the fly without the need for physical devices or constantly switchin [...]
We analyzed this package 4 hours ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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
229 out of 342 API elements (67.0 %) have documentation comments.
Some symbols that are missing documentation: android, android.AndroidDevices.AndroidDevices.new, android.AndroidDevices.onePlus8Pro, android.AndroidDevices.samsungGalaxyA50, android.AndroidDevices.samsungGalaxyNote20Ultra.
10/10 points: Package has an example and has no issues with screenshots
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 19 issues. Showing the first 2:
ERROR: Missing concrete implementations of 'PlatformDispatcher.setApplicationLocale', 'PlatformDispatcher.setSemanticsTreeEnabled', 'getter PlatformDispatcher.engineId', 'getter PlatformDispatcher.letterSpacingOverride', and 3 more.
lib/virtual_device/devtools/platform_dispatcher.dart:20:7
╷
20 │ class VirtualPlatformDispatcher implements PlatformDispatcher {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/virtual_device/devtools/platform_dispatcher.dart
INFO: 'updateSemantics' is deprecated and shouldn't be used. In a multi-view world, the platform dispatcher can no longer provide apis\n to update semantics since each view will host its own semantics tree.\n\n Semantics updates must be passed to an individual [FlutterView]. To update\n semantics, use PlatformDispatcher.instance.views to get a [FlutterView] and\n call `updateSemantics`.
lib/virtual_device/devtools/platform_dispatcher.dart:508:12
╷
508 │ parent.updateSemantics(update);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/virtual_device/devtools/platform_dispatcher.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
vector_math |
- | 2.2.0 | 2.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER-lib/virtual_device/devtools/platform_dispatcher.dart:20:7- Missing concrete implementations of 'PlatformDispatcher.setApplicationLocale', 'PlatformDispatcher.setSemanticsTreeEnabled', 'getter PlatformDispatcher.engineId', 'getter PlatformDispatcher.letterSpacingOverride', and 3 more.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Flutter 3.41.9, Dart 3.11.5.
Check the analysis log for details.
