unified_local_data 1.1.1 copy "unified_local_data: ^1.1.1" to clipboard
unified_local_data: ^1.1.1 copied to clipboard

A universal, engine-agnostic local database abstraction layer for Flutter.

110/ 160
pub points
88
downloads

We analyzed this package 38 hours ago, and awarded it 110 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

1 out of 155 API elements (0.6 %) 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: unified_local_data, unified_local_data.DataModel, unified_local_data.DataModel.fromJson, unified_local_data.DataModel.toJson, unified_local_data.DataModelAdapter.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:unified_local_data/unified_local_data.dart that imports:
  • package:unified_local_data/src/engines/isar/isar_data_source.dart that imports:
  • package:unified_local_data/src/engines/isar/isar_kv_entry.dart that imports:
  • package:isar_community/isar.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

WARNING: 'getByIndex' is experimental and could be removed or changed at any time.

lib/src/engines/isar/isar_kv_entry.g.dart:157:12

    ╷
157 │     return getByIndex(r'compositeKey', [compositeKey]);
    │            ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/engines/isar/isar_kv_entry.g.dart

WARNING: 'getByIndexSync' is experimental and could be removed or changed at any time.

lib/src/engines/isar/isar_kv_entry.g.dart:161:12

    ╷
161 │     return getByIndexSync(r'compositeKey', [compositeKey]);
    │            ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/engines/isar/isar_kv_entry.g.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
hive_ce ^2.19.3 2.20.0 2.20.0
hive_ce_flutter ^2.3.4 2.3.4 2.3.4
isar_community ^3.3.0 3.3.2 3.3.2
isar_community_flutter_libs ^3.3.0 3.3.2 3.3.2
meta ^1.17.0 1.19.0 1.19.0
path_provider ^2.1.5 2.1.6 2.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.1 1.4.1
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
hooks - 2.2.0 2.2.0
isolate_channel - 0.6.1 0.6.1
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
objective_c - 9.6.1 9.6.1
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • CONST_EVAL_THROWS_EXCEPTION - lib/src/engines/isar/isar_kv_entry.g.dart:16:27 - Evaluation of this constant expression throws an exception.

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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
88
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A universal, engine-agnostic local database abstraction layer for Flutter.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, hive_ce, hive_ce_flutter, isar_community, isar_community_flutter_libs, meta, path_provider

More

Packages that depend on unified_local_data