flutter_read_device 1.0.0
flutter_read_device: ^1.0.0 copied to clipboard
A production-ready Flutter SDK that combines device_info_plus and package_info_plus into a unified device and app information API.
We analyzed this package 47 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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting flutter_read_device... Discovering libraries... Linking elements... Precaching local docs for 836758 elements... Initialized dartdoc with 1190 libraries Generating docs for library flutter_read_device.dart from package:flutter_read_device/flutter_read_device.dart... Generating docs for library smart_info.dart from package:flutter_read_device/smart_info.dart... Documented 2 public libraries in 58.1 seconds ERR: warning: ambiguous reexport of flutter_read_device_extensions.FlutterReadDeviceExtensions, canonicalization candidates: (flutter_read_device, flutter_read_device) -> flutter_read_device (confiden[...] from flutter_read_device_extensions.FlutterReadDeviceExtensions: (file:///tmp/pana_KBNZKJ/lib/src/extensions/flutter_read_device_extensions.dart:5:11) flutter_read_device: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) flutter_read_device: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor flutter_read_device_extensions.FlutterReadDeviceExtensions} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library [64 more lines]
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 not compatible with platform Web
Because:
package:flutter_read_device/flutter_read_device.dartthat imports:package:flutter_read_device/src/extensions/flutter_read_device_extensions.dartthat imports:dart:io
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_read_device/flutter_read_device.dartthat imports:package:flutter_read_device/src/services/flutter_read_device_service.dartthat imports:package:flutter_read_device/src/collectors/device_info_collector.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_read_device/flutter_read_device.dartthat imports:package:flutter_read_device/src/services/flutter_read_device_service.dartthat imports:package:flutter_read_device/src/collectors/device_info_collector.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:flutter_read_device/flutter_read_device.dartthat imports:package:flutter_read_device/src/services/flutter_read_device_service.dartthat imports:package:flutter_read_device/src/collectors/device_info_collector.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:flutter_read_device/flutter_read_device.dartthat imports:package:flutter_read_device/src/services/flutter_read_device_service.dartthat imports:package:flutter_read_device/src/collectors/device_info_collector.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
device_info_plus |
^10.1.0 |
10.1.2 | 13.2.0 | |
equatable |
^2.0.5 |
2.1.0 | 2.1.0 | |
package_info_plus |
^8.0.0 |
8.3.1 | 10.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus_platform_interface |
- | 7.0.3 | 8.1.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
package_info_plus_platform_interface |
- | 3.2.1 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.3.0 | |
win32_registry |
- | 1.1.5 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^10.1.0` on device_info_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^8.0.0` on package_info_plus does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions package_info_plus 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.14, Flutter 3.44.4, Dart 3.12.2.
Check the analysis log for details.