local_storage_impl 0.0.5
local_storage_impl: ^0.0.5 copied to clipboard
A local storage implementation using SharedPreferences, FlutterSecureStorage, or any other local storage implementation for Flutter applications.
We analyzed this package 3 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/bienvenuelisis/local_storage/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
33 out of 96 API elements (34.4 %) have documentation comments.
Some symbols that are missing documentation: local_storage_impl
, local_storage_impl.LocalStorage
, local_storage_impl.LocalStorage.LocalStorage.new
, local_storage_impl.LocalStorage.addStringToList
, local_storage_impl.LocalStorage.clear
.
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
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:local_storage_impl/local_storage_impl.dart
that imports:package:local_storage_impl/src/implementations/secure_local_storage.dart
that imports:package:flutter_secure_storage/flutter_secure_storage.dart
that imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:local_storage_impl/local_storage_impl.dart
that imports:package:local_storage_impl/src/implementations/secure_local_storage.dart
that imports:package:flutter_secure_storage/flutter_secure_storage.dart
that imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: The referenced identifier is a wildcard.
lib/src/implementations/shared_preferences_local_storage.dart:33:40
╷
33 │ return storage.clear().then((_) => _);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/implementations/shared_preferences_local_storage.dart
INFO: The referenced identifier is a wildcard.
lib/src/implementations/shared_preferences_sync_local_storage.dart:33:40
╷
33 │ return storage.clear().then((_) => _);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/implementations/shared_preferences_sync_local_storage.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_secure_storage |
^9.2.4 |
9.2.4 | 9.2.4 | |
shared_preferences |
^2.5.1 |
2.5.3 | 2.5.3 |
Transitive dependencies
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.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.