flutter_local_db 1.2.0 copy "flutter_local_db: ^1.2.0" to clipboard
flutter_local_db: ^1.2.0 copied to clipboard

A high-performance cross-platform local database for Dart. Native platforms use Rust+LMDB via FFI, optimized for both Dart APIs and Flutter apps.

150/ 160
pub points
64
downloads

We analyzed this package 39 hours ago, and awarded it 150 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

100 out of 107 API elements (93.5 %) have documentation comments.

Some symbols that are missing documentation: flutter_local_db, flutter_local_db.Err.Err.new, flutter_local_db.ErrorLocalDb.ErrorLocalDb.new, flutter_local_db.JsonSerializer.JsonSerializer.new, flutter_local_db.LocalMethod.

Passed check 10/10 points: Package has an example

Failed 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:flutter_local_db/flutter_local_db.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_local_db/flutter_local_db.dart that imports:
  • package:flutter_local_db/src/local_db.dart that imports:
  • package:flutter_local_db/src/services/local_db_service.dart that imports:
  • package:logger_rs/logger_rs.dart that imports:
  • package:logger_rs/src/logger_rs_base.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/flutter_local_db/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: The import of '../models/local_db_result.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter_local_db/flutter_local_db.dart'.

lib/src/services/local_db_service.dart:26:8

   ╷
26 │ import '../models/local_db_result.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/local_db_service.dart

INFO: The import of '../models/local_db_error.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter_local_db/flutter_local_db.dart'.

lib/src/services/local_db_service.dart:27:8

   ╷
27 │ import '../models/local_db_error.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/local_db_service.dart

Passed report section
Support up-to-date dependencies
40 / 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
ffi ^2.1.4 2.1.4 2.1.4
logger_rs ^1.0.3 1.0.3 1.0.3
path ^1.9.1 1.9.1 1.9.1
path_provider ^2.1.4 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path_provider_android - 2.2.21 2.2.21
path_provider_foundation - 2.4.4 2.4.4
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
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

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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
150
points
64
downloads

Publisher

verified publisherjhonacode.com

Weekly Downloads

A high-performance cross-platform local database for Dart. Native platforms use Rust+LMDB via FFI, optimized for both Dart APIs and Flutter apps.

Repository (GitHub)
View/report issues

Topics

#nosql #ffi #rust #storage #lmdb

Documentation

API reference

License

MIT (license)

Dependencies

ffi, logger_rs, path, path_provider

More

Packages that depend on flutter_local_db

Packages that implement flutter_local_db