df_web_device_info 0.3.9 df_web_device_info: ^0.3.9 copied to clipboard
A package that provides a method for Flutter WASM applications to retrieve basic device information.
We analyzed this package 4 days ago, and awarded it 100 pub points (of a possible 160):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
1119 out of 1258 API elements (89.0 %) have documentation comments.
Some symbols that are missing documentation: _common
, _common.BaseModel
, _common.BaseModel.BaseModel
, _common.CanonicalizedMap.retype
, _common.ChunkedOnIterableX
.
10/10 points: Package has an example
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:df_web_device_info/df_web_device_info.dart
that imports:package:df_web_device_info/src/_index.g.dart
that imports:package:df_web_device_info/src/get_basic_device_info/get_basic_device_info.dart
that imports:package:df_web_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart
that imports:package:df_web_device_info/src/_js/_is_pwa_installed.dart
that imports:dart:js_interop
Package not compatible with platform iOS
Because:
package:df_web_device_info/df_web_device_info.dart
that imports:package:df_web_device_info/src/_index.g.dart
that imports:package:df_web_device_info/src/get_basic_device_info/get_basic_device_info.dart
that imports:package:df_web_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart
that imports:package:df_web_device_info/src/_js/_is_pwa_installed.dart
that imports:dart:js_interop
Package not compatible with platform Windows
Because:
package:df_web_device_info/df_web_device_info.dart
that imports:package:df_web_device_info/src/_index.g.dart
that imports:package:df_web_device_info/src/get_basic_device_info/get_basic_device_info.dart
that imports:package:df_web_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart
that imports:package:df_web_device_info/src/_js/_is_pwa_installed.dart
that imports:dart:js_interop
Package not compatible with platform Linux
Because:
package:df_web_device_info/df_web_device_info.dart
that imports:package:df_web_device_info/src/_index.g.dart
that imports:package:df_web_device_info/src/get_basic_device_info/get_basic_device_info.dart
that imports:package:df_web_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart
that imports:package:df_web_device_info/src/_js/_is_pwa_installed.dart
that imports:dart:js_interop
Package not compatible with platform macOS
Because:
package:df_web_device_info/df_web_device_info.dart
that imports:package:df_web_device_info/src/_index.g.dart
that imports:package:df_web_device_info/src/get_basic_device_info/get_basic_device_info.dart
that imports:package:df_web_device_info/src/get_basic_device_info/_get_basic_device_info_web.dart
that imports:package:df_web_device_info/src/_js/_is_pwa_installed.dart
that imports:dart:js_interop
Package not compatible with platform Web
Because:
package:df_web_device_info/df_web_device_info.dart
that imports:package:df_web_device_info/src/_index.g.dart
that imports:package:df_web_device_info/src/get_basic_device_info/get_basic_device_info.dart
that imports:package:df_web_device_info/src/get_basic_device_info/_get_basic_device_info_non_web.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:df_web_device_info/df_web_device_info.dart
that imports:package:df_web_device_info/src/_index.g.dart
that imports:package:df_web_device_info/src/get_basic_device_info/get_basic_device_info.dart
that imports:package:df_web_device_info/src/get_basic_device_info/_get_basic_device_info_non_web.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: The method doesn't override an inherited method.
lib/src/data_models/model_basic_device_info/_model_basic_device_info.g.dart:238:13
╷
238 │ BaseModel mergeWith(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/data_models/model_basic_device_info/_model_basic_device_info.g.dart
WARNING: The method doesn't override an inherited method.
lib/src/data_models/model_js_navigator/_model_js_navigator.g.dart:215:13
╷
215 │ BaseModel mergeWith(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/data_models/model_js_navigator/_model_js_navigator.g.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
df_generate_dart_models_core |
^0.8.0 |
0.8.18 | 0.8.18 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 76.0.0 | 78.0.0 |
_macros |
- | 0.3.3 | 0.3.3 |
analyzer |
- | 6.11.0 | 7.1.0 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
build |
- | 2.4.2 | 2.4.2 |
collection |
- | 1.19.1 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
dart_style |
- | 2.3.7 | 3.0.1 |
df_collection |
- | 0.8.6 | 0.8.6 |
df_config |
- | 0.5.4 | 0.5.4 |
df_gen_core |
- | 0.5.11 | 0.5.11 |
df_log |
- | 0.2.4 | 0.2.4 |
df_string |
- | 0.2.4 | 0.2.4 |
df_type |
- | 0.7.6 | 0.7.6 |
equatable |
- | 2.0.7 | 2.0.7 |
file |
- | 7.0.1 | 7.0.1 |
glob |
- | 2.1.2 | 2.1.2 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
logging |
- | 1.3.0 | 1.3.0 |
macros |
- | 0.1.3-main.0 | 0.1.3-main.0 |
meta |
- | 1.16.0 | 1.16.0 |
package_config |
- | 2.1.1 | 2.1.1 |
path |
- | 1.9.1 | 1.9.1 |
pub_semver |
- | 2.1.5 | 2.1.5 |
source_gen |
- | 1.5.0 | 2.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
watcher |
- | 1.1.1 | 1.1.1 |
web |
- | 1.1.0 | 1.1.0 |
yaml |
- | 3.1.3 | 3.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
INVALID_OVERRIDE
-lib/src/data_models/model_basic_device_info/_model_basic_device_info.g.dart:238:13
- 'ModelBasicDeviceInfo.mergeWith' ('BaseModel Function(BaseModel?, {bool deepMerge})') isn't a valid override of 'Model.mergeWith' ('T FunctionINVALID_OVERRIDE
-lib/src/data_models/model_js_navigator/_model_js_navigator.g.dart:215:13
- 'ModelJsNavigator.mergeWith' ('BaseModel Function(BaseModel?, {bool deepMerge})') isn't a valid override of 'Model.mergeWith' ('T FunctionINVALID_OVERRIDE
-lib/src/data_models/model_js_screen/_model_js_screen.g.dart:281:13
- 'ModelJsScreen.mergeWith' ('BaseModel Function(BaseModel?, {bool deepMerge})') isn't a valid override of 'Model.mergeWith' ('T Function
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Dart 3.6.0
.
Check the analysis log for details.