floor 1.5.0 copy "floor: ^1.5.0" to clipboard
floor: ^1.5.0 copied to clipboard

The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. This library is the runtime dependency.

939
likes
110/ 160
pub points
98%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/pinchbv/floor/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

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: floor,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

96 out of 121 API elements (79.3 %) have documentation comments.

Some symbols that are missing documentation: floor, floor.DatabaseFactoryExtension, floor.DatabaseFactoryExtension.getDatabasePath, floor.DeletionAdapter, floor.DeletionAdapter.DeletionAdapter.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Web`.

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that imports:
  • package:sqflite_common_ffi_web/src/sqflite_ffi.dart that imports:
  • package:sqflite_common_ffi_web/src/sqflite_ffi_web.dart that imports:
  • package:sqflite_common_ffi_web/src/database_factory_web.dart that imports:
  • package:sqflite_common_ffi_web/src/import.dart that imports:
  • package:sqflite_common_ffi/src/sqflite_ffi_impl.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.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.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.18.0 1.18.0 1.19.1
floor_annotation ^1.5.0 1.5.0 1.5.0
floor_common ^1.5.0 1.5.0 1.5.0
flutter flutter 0.0.0 0.0.0
meta any 1.15.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
sqflite ^2.3.2 2.4.1 2.4.1
sqflite_common_ffi ^2.3.2+1 2.3.4 2.3.4
sqflite_common_ffi_web ^0.4.3 0.4.5+3 0.4.5+3
sqlparser ^0.34.1 0.34.1 0.39.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
charcode - 1.4.0 1.4.0
dev_build - 1.1.0+2 1.1.0+2
ffi - 2.1.3 2.1.3
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
material_color_utilities - 0.11.1 0.12.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
process_run - 1.2.2 1.2.2
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 2.4.7 2.4.7
stack_trace - 1.12.0 1.12.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^0.34.1` on sqlparser does not support the stable version `0.35.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

939
likes
110
pub points
98%
popularity

Publisher

verified publisherpinch.nl

The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. This library is the runtime dependency.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, floor_annotation, floor_common, flutter, meta, path, sqflite, sqflite_common_ffi, sqflite_common_ffi_web, sqlparser

More

Packages that depend on floor