offline_storage_sync 0.0.1
offline_storage_sync: ^0.0.1 copied to clipboard
A package that helps developers manage offline data storage and synchronization with a backend service.
We analyzed this package 32 hours ago, and awarded it 50 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://sakir-console.com
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
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 15 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: offline_storage_sync
, offline_storage_sync.CacheStorage
, offline_storage_sync.CacheStorage.CacheStorage.new
, offline_storage_sync.CacheStorage.getData
, offline_storage_sync.CacheStorage.init
.
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 does not support platform `Android`.
Because:
package:offline_storage_sync/offline_storage_sync.dart
that declares support for platforms: .
Package does not support platform `iOS`.
Because:
package:offline_storage_sync/offline_storage_sync.dart
that declares support for platforms: .
Package does not support platform `Windows`.
Because:
package:offline_storage_sync/offline_storage_sync.dart
that declares support for platforms: .
Package does not support platform `Linux`.
Because:
package:offline_storage_sync/offline_storage_sync.dart
that declares support for platforms: .
Package does not support platform `macOS`.
Because:
package:offline_storage_sync/offline_storage_sync.dart
that declares support for platforms: .
Package does not support platform `Web`.
Because:
package:offline_storage_sync/offline_storage_sync.dart
that declares support for platforms: .
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
ERROR: The method 'DataModelAdapter' isn't defined for the type 'CacheStorage'.
lib/src/cache_storage.dart:9:26
╷
9 │ Hive.registerAdapter(DataModelAdapter());
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cache_storage.dart
ERROR: Target of URI hasn't been generated: 'package:offline_storage_sync/src/data_model.g.dart'.
lib/src/data_model.dart:3:6
╷
3 │ part 'data_model.g.dart';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data_model.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
hive |
^2.0.0 |
2.2.3 | 2.2.3 | |
http |
^0.13.3 |
0.13.6 | 1.4.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
sqflite |
^2.0.0+3 |
2.4.2 | 2.4.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.13.3` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
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 8 errors:
UNDEFINED_METHOD
-lib/src/cache_storage.dart:9:26
- The method 'DataModelAdapter' isn't defined for the type 'CacheStorage'.URI_HAS_NOT_BEEN_GENERATED
-lib/src/data_model.dart:3:6
- Target of URI hasn't been generated: 'package:offline_storage_sync/src/data_model.g.dart'.DIRECTIVE_AFTER_DECLARATION
-lib/src/data_model.dart:29:1
- Directives must appear before any declarations.
Run flutter pub downgrade
and then flutter 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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.