platform_plus 3.1.0 platform_plus: ^3.1.0 copied to clipboard
Platform Plus is a package for easily figuring out information about the platform your code is running on
We analyzed this package 2 days ago, and awarded it 150 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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
58 out of 59 API elements (98.3 %) have documentation comments.
Some symbols that are missing documentation: platform_plus
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:platform_plus/platform_plus.dart
that imports:package:platform_plus/src/platform/platform_base.dart
that imports:package:platform_plus/src/platform/platform_native.dart
that imports:package:device_info_plus/device_info_plus.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.
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 |
---|---|---|---|
browser_detector |
^2.0.0 |
2.0.0 | 2.0.0 |
device_info_plus |
^4.0.0 |
4.1.3 | 11.1.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
device_info_plus_linux |
- | 3.0.0 | 5.0.0 |
device_info_plus_macos |
- | 3.0.0 | 5.0.0 |
device_info_plus_platform_interface |
- | 3.0.0 | 7.0.1 |
device_info_plus_web |
- | 3.0.0 | 5.0.0 |
device_info_plus_windows |
- | 4.1.0 | 6.0.0 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 6.1.4 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
win32 |
- | 3.1.4 | 5.8.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.0.0` on device_info_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions device_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.22.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.