foodb_objectbox_adapter 0.11.0 foodb_objectbox_adapter: ^0.11.0 copied to clipboard
Foodb database persistance using object
We analyzed this package 7 hours ago, and awarded it 100 pub points (of a possible 140):
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 60 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
315 out of 541 API elements (58.2 %) have documentation comments.
Some symbols that are missing documentation: foodb_objectbox_adapter
, foodb_objectbox_adapter.ObjectBoxAdapter
, foodb_objectbox_adapter.ObjectBoxAdapter.ObjectBoxAdapter
, foodb_objectbox_adapter.ObjectBoxAdapter.allDocViewName
, foodb_objectbox_adapter.ObjectBoxAdapter.clearTable
.
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 does not support platform `Web`.
Because:
package:foodb_objectbox_adapter/foodb_objectbox_adapter.dart
that imports:package:foodb_objectbox_adapter/objectbox.g.dart
that imports:package:objectbox_flutter_libs/objectbox_flutter_libs.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/foodb_objectbox_adapter.dart:136:9
╷
136 │ if (list.length > 0) return list[0];
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/foodb_objectbox_adapter.dart
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/foodb_objectbox_adapter.dart:204:9
╷
204 │ if (docs.length > 0) {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/foodb_objectbox_adapter.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flat_buffers |
^2.0.5 |
2.0.5 | 23.5.26 |
flutter |
flutter |
0.0.0 | 0.0.0 |
foodb |
>=0.10.0 <0.11.0 |
0.10.3 | 0.10.3 |
objectbox |
^2.1.0 |
2.5.0 | 2.5.1 |
objectbox_flutter_libs |
^2.1.0 |
2.5.0 | 2.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
ffi |
- | 2.1.2 | 2.1.2 |
http |
- | 0.13.6 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
json_annotation |
- | 4.9.0 | 4.9.0 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider |
- | 2.1.3 | 2.1.3 |
path_provider_android |
- | 2.2.4 | 2.2.4 |
path_provider_foundation |
- | 2.3.2 | 2.3.2 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.2.1 | 2.2.1 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
quiver |
- | 3.2.1 | 3.2.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
synchronized |
- | 3.1.0+1 | 3.1.0+1 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.0 | 0.7.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
uri |
- | 1.0.0 | 1.0.0 |
uuid |
- | 3.0.7 | 4.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
web_socket_channel |
- | 2.4.5 | 2.4.5 |
win32 |
- | 5.5.0 | 5.5.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.0.5` on flat_buffers does not support the stable version `23.5.26`.
Try running dart pub upgrade --major-versions flat_buffers
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.