loon 5.1.2 loon: ^5.1.2 copied to clipboard
Loon is a reactive collection data store for Dart & Flutter.
We analyzed this package 31 hours ago, and awarded it 150 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
125 out of 602 API elements (20.8 %) have documentation comments.
Some symbols that are missing documentation: data_store
, data_store.DataStore
, data_store.DataStore.DataStore
, data_store.DataStore.config
, data_store.DataStore.delete
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:loon/loon.dart
that imports:package:loon/persistor/index.dart
that imports:package:loon/persistor/sqlite_persistor/sqlite_persistor.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:loon/loon.dart
that imports:package:loon/persistor/index.dart
that imports:package:loon/persistor/sqlite_persistor/sqlite_persistor.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
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:loon/loon.dart
that imports:package:loon/persistor/index.dart
that imports:package:loon/persistor/indexed_db_persistor/indexed_db_persistor.dart
that imports:package:loon/persistor/indexed_db_persistor/indexed_db_data_store_config.dart
that imports:package:loon/persistor/data_store.dart
that imports:package:loon/persistor/data_store_encrypter.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:loon/loon.dart
that imports:package:loon/persistor/data_store_encrypter.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
INFO: The operator x ~/ y is more efficient than (x / y).toInt().
lib/persistor/data_store.dart:52:11
╷
52 │ ┌ (Uint8List.fromList(utf8.encode(jsonEncode(_store))).length / 1000)
53 │ │ .toInt();
│ └──────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/persistor/data_store.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
^9.2.2 |
9.2.2 | 9.2.2 |
path |
^1.8.3 |
1.9.1 | 1.9.1 |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 |
sqflite |
^2.4.1 |
2.4.1 | 2.4.1 |
sqflite_common_ffi |
^2.3.4 |
2.3.4+3 | 2.3.4+3 |
uuid |
^4.3.3 |
4.5.1 | 4.5.1 |
web |
^1.1.0 |
1.1.0 | 1.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
asn1lib |
- | 1.5.8 | 1.5.8 |
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.18.0 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
ffi |
- | 2.1.3 | 2.1.3 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_secure_storage_linux |
- | 1.2.1 | 1.2.1 |
flutter_secure_storage_macos |
- | 3.1.2 | 3.1.2 |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 1.1.2 |
flutter_secure_storage_web |
- | 1.2.1 | 1.2.1 |
flutter_secure_storage_windows |
- | 3.1.2 | 3.1.2 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
js |
- | 0.6.7 | 0.7.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path_provider_android |
- | 2.2.12 | 2.2.12 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
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 |
pointycastle |
- | 3.9.1 | 3.9.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
sprintf |
- | 7.0.0 | 7.0.0 |
sqflite_android |
- | 2.4.0 | 2.4.0 |
sqflite_common |
- | 2.5.4+6 | 2.5.4+6 |
sqflite_darwin |
- | 2.4.1 | 2.4.1 |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 |
sqlite3 |
- | 2.4.7 | 2.4.7 |
synchronized |
- | 3.3.0+3 | 3.3.0+3 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
win32 |
- | 5.8.0 | 5.8.0 |
xdg_directories |
- | 1.1.0 | 1.1.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.22.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.