dart_data 0.1.1 copy "dart_data: ^0.1.1" to clipboard
dart_data: ^0.1.1 copied to clipboard

The SwiftData for Flutter. Zero-boilerplate, offline-first data persistence and sync framework with SQLite storage, reactive streams, 6 conflict resolution strategies, encryption, and pluggable backen [...]

130/ 160
pub points
70
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Failed to verify repository URL.

packages/dart_data/pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: dart_data,
    • contains a version property, and,
    • does not contain a publish_to property.

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: BSD-3-Clause.

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

399 out of 628 API elements (63.5 %) have documentation comments.

Some symbols that are missing documentation: dart_data.ActualColumn.ActualColumn.new, dart_data.ActualColumn.cid, dart_data.ActualColumn.defaultValue, dart_data.ActualColumn.isPrimaryKey, dart_data.ActualColumn.name.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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:dart_data/dart_data.dart that imports:
  • package:dart_data/src/storage/sqlite_storage.dart that imports:
  • package:dart_data/src/storage/encryption_pragma.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/memory.dart that imports:
  • package:sqlite3/src/ffi/generated/shared.dart that imports:
  • dart:ffi

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:dart_data/dart_data.dart that imports:
  • package:dart_data/src/storage/sqlite_storage.dart that imports:
  • package:dart_data/src/storage/encryption_pragma.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/memory.dart that imports:
  • package:sqlite3/src/ffi/generated/shared.dart that imports:
  • dart:ffi

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

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
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
drift ^2.14.0 2.31.0 2.32.0
meta ^1.9.0 1.18.1 1.18.1
sqlite3 ^2.1.0 2.9.4 3.1.7
uuid ^4.0.0 4.5.3 4.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
path - 1.9.1 1.9.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

The constraint `^2.1.0` on sqlite3 does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions sqlite3 to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
70
downloads

Publisher

unverified uploader

Weekly Downloads

The SwiftData for Flutter. Zero-boilerplate, offline-first data persistence and sync framework with SQLite storage, reactive streams, 6 conflict resolution strategies, encryption, and pluggable backend adapters.

Topics

#database #sqlite #offline-first #sync #persistence

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

drift, meta, sqlite3, uuid

More

Packages that depend on dart_data