common_interface 1.0.5
common_interface: ^1.0.5 copied to clipboard
Common Interface For MultiAdNetwork
We analyzed this package 7 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
164 out of 410 API elements (40.0 %) have documentation comments.
Some symbols that are missing documentation: AdConfigDataModel, AdConfigDataModel.AdConfigDataModel, AdConfigDataModel.AdConfigDataModel.AdConfigDataModel.new, AdConfigDataModel.AdConfigDataModel.banner, AdConfigDataModel.AdConfigDataModel.copyWith.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:common_interface/common_interface.dartthat imports:package:common_interface/GlobalData/global_ad_variables.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat imports:dart:io
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:common_interface/common_interface.dartthat imports:package:common_interface/CommonMethods/device_methods.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:common_interface/common_interface.dartthat imports:package:common_interface/CommonMethods/device_methods.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:common_interface/common_interface.dartthat imports:package:common_interface/CommonMethods/device_methods.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:common_interface/common_interface.dartthat imports:package:common_interface/CommonMethods/device_methods.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:common_interface/common_interface.dartthat imports:package:common_interface/GlobalData/global_ad_variables.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat 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 33 issues. Showing the first 2:
WARNING: The value of the local variable 'storage' isn't used.
lib/GlobalData/global_ad_variables.dart:61:11
╷
61 │ final storage = FlutterSecureStorage(aOptions: getAndroidOptions());
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/GlobalData/global_ad_variables.dart
INFO: The local variable '_getAndroidOptions' starts with an underscore.
lib/CommonMethods/device_methods.dart:26:20
╷
26 │ AndroidOptions _getAndroidOptions() => const AndroidOptions(
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/CommonMethods/device_methods.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
^1.0.8 |
1.0.8 | 1.0.8 | |
device_info_plus |
^11.2.0 |
11.5.0 | 12.2.0 | |
flutter_secure_storage |
^9.2.2 |
9.2.4 | 9.2.4 | |
intl |
^0.20.1 |
0.20.2 | 0.20.2 | |
provider |
^6.1.2 |
6.1.5+1 | 6.1.5+1 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.0.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.2.0` on device_info_plus does not support the stable version `12.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.