platform_plus 2.4.0 copy "platform_plus: ^2.4.0" to clipboard
platform_plus: ^2.4.0 copied to clipboard

Platform Plus is a package for easily figuring out information about the platform your code is running on

150/ 160
pub points
1.93k
downloads

We analyzed this package 15 days ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

60 out of 61 API elements (98.4 %) have documentation comments.

Some symbols that are missing documentation: platform_plus.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
browser_detector ^2.0.0 2.0.0 2.0.0
device_info_plus ^3.1.1 3.2.4 12.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
device_info_plus_linux - 2.1.1 5.0.0 Discontinued
device_info_plus_macos - 2.2.3 5.0.0 Discontinued
device_info_plus_platform_interface - 2.6.1 7.0.3
device_info_plus_web - 2.1.0 5.0.0 Discontinued
device_info_plus_windows - 2.1.1 6.0.0 Discontinued
ffi - 1.2.1 2.1.4
file - 6.1.4 7.0.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0
win32 - 2.6.1 5.15.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.1.1` on device_info_plus does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
13
likes
150
points
1.93k
downloads

Publisher

verified publisherrexios.dev

Weekly Downloads

Platform Plus is a package for easily figuring out information about the platform your code is running on

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

browser_detector, device_info_plus, flutter

More

Packages that depend on platform_plus