platform_detect 1.4.0
platform_detect: ^1.4.0 copied to clipboard

Dart js
Flutter web

A lightweight library for detecting the running browser and OS

18
likes
95 / 110
pub points
95 %
popularity

We analyzed this package on Mar 3, 2021, and awarded it 95 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

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

  • 17 out of 64 API elements (26.6 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime native

Because:

  • package:platform_detect/platform_detect.dart that imports:
  • package:platform_detect/src/support.dart that imports:
  • dart:html
Pass static analysis
30 / 30

30/30 points: code has no errors, warnings, lints, or formatting issues

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
meta^1.0.41.2.41.3.0
pub_semver^1.4.21.4.42.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
collection-1.14.131.15.0

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

The constraint `^1.4.2` on pub_semver does not support the stable version `2.0.0`, that was published 25 days ago.

When pub_semver is 30 days old, this package will no longer be awarded points in this category.

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

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

Analysed with Pana 0.15.1+1, Dart 2.10.5.

18
likes
95
pub points
95%
popularity

Publisher

workiva.com

A lightweight library for detecting the running browser and OS

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

meta, pub_semver

More

Packages that depend on platform_detect