my_device 0.1.0 icon indicating copy to clipboard operation
my_device: ^0.1.0 copied to clipboard

Agile and easy access to device information and internet connection alerts

4
likes
120/ 140
pub points
18%
popularity

We analyzed this package 20 hours ago, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

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

18 out of 22 API elements (81.8 %) have documentation comments.

Some symbols that are missing documentation: my_device, Device, getInfo, showText.

10/10 points: Package has an example

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web

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:my_device/my_device.dart that imports:
  • package:my_device/src/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:my_device/my_device.dart that imports:
  • package:my_device/src/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:my_device/my_device.dart that imports:
  • package:my_device/src/device.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:my_device/my_device.dart that imports:
  • package:my_device/src/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:my_device/my_device.dart that imports:
  • package:my_device/src/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:my_device/my_device.dart that imports:
  • package:my_device/src/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_linux.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/src/io.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
40 / 50icon to trigger folding of the section

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

INFO: 'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.10.0-1.1.pre.

lib/src/device.dart:94:22

   ╷
94 │       'browserName': describeEnum(data.browserName),
   │                      ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/device.dart

lib/src/device.dart doesn't match the Dart formatter.

To format your files run: dart format .

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

Package Constraint Compatible Latest
connectivity_plus ^3.0.2 3.0.6 5.0.2
device_info_plus ^8.0.0 8.2.2 9.1.1
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.4.2 2.4.2
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
connectivity_plus_platform_interface - 1.2.4 1.2.4
dbus - 0.7.10 0.7.10
device_info_plus_platform_interface - 7.0.0 7.0.0
ffi - 2.1.0 2.1.0
file - 6.1.4 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.6.7
material_color_utilities - 0.5.0 0.8.0
meta - 1.10.0 1.11.0
nm - 0.5.0 0.5.0
path - 1.8.3 1.8.3
petitparser - 6.0.1 6.0.1
plugin_platform_interface - 2.1.7 2.1.7
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
web - 0.3.0 0.4.0
win32 - 4.1.4 5.1.0
xml - 6.4.2 6.4.2

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

The constraint `^3.0.2` on connectivity_plus does not support the stable version `4.0.0`.

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

The constraint `^8.0.0` on device_info_plus does not support the stable version `9.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

Analyzed with Pana 0.21.43, Flutter 3.16.1, Dart 3.2.1.

Check the analysis log for details.

4
likes
120
pub points
18%
popularity

Publisher

verified publisher iconmisdevelop.app

Agile and easy access to device information and internet connection alerts

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

connectivity_plus, device_info_plus, flutter

More

Packages that depend on my_device