app_preference 0.2.0
app_preference: ^0.2.0 copied to clipboard
User preference makes easy
We analyzed this package 2 days ago, and awarded it 120 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting app_preference... Discovering libraries... Linking elements... Precaching local docs for 646333 elements... Initialized dartdoc with 809 libraries Generating docs for library app_preference_plugin_interface.dart from package:app_preference/app_preference_plugin_interface.dart... Generating docs for library app_preference.dart from package:app_preference/app_preference.dart... Documented 2 public libraries in 84.3 seconds ERR: warning: ambiguous reexport of app_preference.AppPreferenceEnsuredExtension, canonicalization candidates: (app_preference, app_preference) -> app_preference (confidence 0.000) from app_preference.AppPreferenceEnsuredExtension: (file:///tmp/pana_OUSMIJ/lib/src/app_preference.dart:210:11) app_preference: 1.260 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2500)) app_preference: 1.260 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2500)) Use {@canonicalFor app_preference.AppPreferenceEnsuredExtension} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [50 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Library names are not necessary.
lib/app_preference.dart:2:9
╷
2 │ library app_preference;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/app_preference.dart
INFO: Library names are not necessary.
lib/app_preference_plugin_interface.dart:2:9
╷
2 │ library app_preference;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/app_preference_plugin_interface.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
mobx |
^2.2.0 |
2.6.0 | 2.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.