local_first 0.4.0 copy "local_first: ^0.4.0" to clipboard
local_first: ^0.4.0 copied to clipboard

Local-first Flutter package for offline sync with support for Hive, SQLite, and common databases. Fast, lightweight, and reliable.

140/ 160
pub points
356
downloads

We analyzed this package 8 hours ago, and awarded it 140 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

97 out of 149 API elements (65.1 %) have documentation comments.

Some symbols that are missing documentation: local_first, local_first.DataSyncStrategy.DataSyncStrategy.new, local_first.DataSyncStrategy.attach, local_first.DataSyncStrategy.client, local_first.DataSyncStrategy.getPendingObjects.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:local_first/local_first.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:local_first/local_first.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:local_first/local_first.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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_flutter ^1.1.0 1.1.0 1.1.0
path ^1.9.0 1.9.1 1.9.1
sqflite ^2.3.3 2.4.2 2.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.5 2.1.5
hive - 2.2.3 2.2.3
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
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
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
synchronized - 3.4.0 3.4.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
xdg_directories - 1.1.0 1.1.0

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 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/data_sources/hive_local_storage.dart:57:18 - The argument type 'String?' can't be assigned to the parameter type 'String'.
  • UNDEFINED_NAMED_PARAMETER - lib/src/data_sources/hive_local_storage.dart:256:48 - The named parameter 'path' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/data_sources/hive_local_storage.dart:264:55 - The named parameter 'path' isn't defined.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
356
downloads

Publisher

verified publishercarda.me

Weekly Downloads

Local-first Flutter package for offline sync with support for Hive, SQLite, and common databases. Fast, lightweight, and reliable.

Repository (GitHub)
View/report issues
Contributing

Topics

#local-first #repository #sync #offline-first

Documentation

API reference

License

MIT (license)

Dependencies

flutter, hive_flutter, path, sqflite

More

Packages that depend on local_first