device_info_plus 2.0.1
device_info_plus: ^2.0.1 copied to clipboard

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

116
likes
130 / 130
pub points
97 %
popularity

We analyzed this package on Jun 23, 2021, and awarded it 130 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 10 out of 11 API elements (90.9 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with runtime flutter-web on Web

Because:

  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus_linux/device_info_plus_linux.dart that imports:
  • package:device_info_plus_linux/src/device_info.dart that imports:
  • package:file/local.dart that imports:
  • package:file/src/backends/local.dart that imports:
  • package:file/src/backends/local/local_file_system.dart that imports:
  • package:file/src/backends/local/local_link.dart that imports:
  • package:file/src/backends/local/local_file_system_entity.dart that imports:
  • package:file/src/backends/local/local_file.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
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
device_info_plus_linux^2.0.02.0.02.0.0
device_info_plus_macos^2.0.02.0.02.0.0
device_info_plus_platform_interface^2.0.02.0.02.0.0
device_info_plus_web^2.0.02.0.02.0.0
device_info_plus_windows^2.0.02.0.02.0.0
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.01.1.0
collection-1.15.01.15.0
ffi-1.1.21.1.2
file-6.1.26.1.2
flutter_web_plugins-0.0.00.0.0
js-0.6.30.6.3
meta-1.3.01.4.0
path-1.8.01.8.0
plugin_platform_interface-2.0.02.0.0
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.0
vector_math-2.1.02.1.0
win32-2.2.32.2.3

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

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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.18.2, Flutter 2.2.2, Dart 2.13.3.

116
likes
130
pub points
97%
popularity

Publisher

fluttercommunity.dev

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

device_info_plus_linux, device_info_plus_macos, device_info_plus_platform_interface, device_info_plus_web, device_info_plus_windows, flutter

More

Packages that depend on device_info_plus