device_info_pro 12.4.2
device_info_pro: ^12.4.2 copied to clipboard
A Flutter plugin to get device information.
We analyzed this package 12 days ago, and awarded it 45 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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/fluttercommunity/plus-device-info was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/fluttercommunity/plus-device-info was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/fluttercommunity/plus-device-info/issues was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("12.4.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
164 out of 177 API elements (92.7 %) have documentation comments.
Some symbols that are missing documentation: device_info, device_info_pro, device_info_pro.BaseDeviceInfo.BaseDeviceInfo.new, device_info_pro.DeviceInfoPlusLinuxPlugin.DeviceInfoPlusLinuxPlugin.new, device_info_pro.DeviceInfoPlusLinuxPlugin.deviceInfo.
10/10 points: Package has an example
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 7 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:device_info_pro/device_info.dart'.
lib/src/device_info_linux.dart:3:8
╷
3 │ import 'package:device_info_pro/device_info.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/device_info_linux.dart
ERROR: Undefined class 'LinuxDeviceInfo'.
lib/src/device_info_linux.dart:16:3
╷
16 │ LinuxDeviceInfo? _cache;
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/device_info_linux.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
device_info_plus_platform_interface |
^7.0.3 |
7.0.3 | 8.1.0 | |
ffi |
^2.1.4 |
2.2.0 | 2.2.0 | |
file |
^7.0.1 |
7.0.1 | 7.0.1 | |
meta |
^1.16.0 |
1.19.0 | 1.19.0 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 | |
win32 |
^5.11.0 |
5.15.0 | 6.4.0 | |
win32_registry |
^2.1.0 |
2.1.0 | 3.0.3 |
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.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.4.2 | 2.4.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^7.0.3` on device_info_plus_platform_interface does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions device_info_plus_platform_interface to update the constraint.
The constraint `^5.11.0` on win32 does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions win32 to update the constraint.
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 6 errors:
URI_DOES_NOT_EXIST-lib/src/device_info_linux.dart:3:8- Target of URI doesn't exist: 'package:device_info_pro/device_info.dart'.UNDEFINED_CLASS-lib/src/device_info_linux.dart:16:3- Undefined class 'LinuxDeviceInfo'.NON_TYPE_AS_TYPE_ARGUMENT-lib/src/device_info_linux.dart:28:10- The name 'LinuxDeviceInfo' isn't a type, so it can't be used as a type argument.
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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.