xyz_device_info 0.8.0 copy "xyz_device_info: ^0.8.0" to clipboard
xyz_device_info: ^0.8.0 copied to clipboard

unlisted

This package allows you to get some basic device info and works with WebAssembly.

110/ 160
pub points
11
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/robmllze/xyz_device_info was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

211 out of 488 API elements (43.2 %) have documentation comments.

Some symbols that are missing documentation: _common, _common.BaseModel, _common.BaseModel.BaseModel.new, _common.ConvertOnStringCaseTypeExtension, _common.ConvertStringToDuration.ConvertStringToDuration.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:xyz_device_info/xyz_device_info.dart that imports:
  • package:xyz_device_info/src/_all_src.g.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/get_basic_device_info.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart that imports:
  • package:xyz_device_info/src/_js/_is_pwa_installed.dart that imports:
  • dart:js_interop
Package not compatible with platform iOS

Because:

  • package:xyz_device_info/xyz_device_info.dart that imports:
  • package:xyz_device_info/src/_all_src.g.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/get_basic_device_info.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart that imports:
  • package:xyz_device_info/src/_js/_is_pwa_installed.dart that imports:
  • dart:js_interop
Package not compatible with platform Windows

Because:

  • package:xyz_device_info/xyz_device_info.dart that imports:
  • package:xyz_device_info/src/_all_src.g.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/get_basic_device_info.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart that imports:
  • package:xyz_device_info/src/_js/_is_pwa_installed.dart that imports:
  • dart:js_interop
Package not compatible with platform Linux

Because:

  • package:xyz_device_info/xyz_device_info.dart that imports:
  • package:xyz_device_info/src/_all_src.g.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/get_basic_device_info.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart that imports:
  • package:xyz_device_info/src/_js/_is_pwa_installed.dart that imports:
  • dart:js_interop
Package not compatible with platform macOS

Because:

  • package:xyz_device_info/xyz_device_info.dart that imports:
  • package:xyz_device_info/src/_all_src.g.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/get_basic_device_info.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart that imports:
  • package:xyz_device_info/src/_js/_is_pwa_installed.dart that imports:
  • dart:js_interop
Package not compatible with platform Web

Because:

  • package:xyz_device_info/xyz_device_info.dart that imports:
  • package:xyz_device_info/src/_all_src.g.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/get_basic_device_info.dart that imports:
  • package:xyz_device_info/src/get_basic_device_info/_get_basic_device_info_non_web.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'dart:js' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/src/_js/_get_global_position_as_json.dart:14:1

   ╷
14 │ import 'dart:js' show allowInterop;
   │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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
df_generate_dart_models_core ^0.2.1 0.2.3 0.11.2
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
df_collection - 0.2.0 0.10.0
df_string - 0.1.2 0.4.0
df_type - 0.1.5 0.16.1
equatable - 2.1.0 2.1.0
meta - 1.19.0 1.19.0

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

The constraint `^0.2.1` on df_generate_dart_models_core does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions df_generate_dart_models_core 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.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This package allows you to get some basic device info and works with WebAssembly.

Repository (GitHub)

License

MIT (license)

Dependencies

df_generate_dart_models_core

More

Packages that depend on xyz_device_info