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

outdated

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

120/ 160
pub points
18.2k
downloads

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

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.

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: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

96 out of 127 API elements (75.6 %) have documentation comments.

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

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.

Failed check 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.cn/web/wasm 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

INFO: The import of 'package:sqflite/sqflite.dart' is unnecessary because all of the used elements are also provided by the import of 'package:sqflite_common_ffi/sqflite_ffi.dart'.

lib/src/sqflite_database_factory.dart:4:8

  ╷
4 │ import 'package:sqflite/sqflite.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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
collection ^1.15.0 1.19.1 1.19.1
floor_annotation ^1.4.2 1.5.0 1.5.0
meta ^1.7.0 1.16.0 1.17.0
path ^1.8.1 1.9.1 1.9.1
sqflite ^2.0.0+4 2.4.2 2.4.2
sqflite_common_ffi ^2.0.0+3 2.3.6 2.3.6
sqlparser ^0.27.0 0.27.0 0.42.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
charcode - 1.4.0 1.4.0
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
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
sqlite3 - 2.9.4 2.9.4
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.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 `^0.27.0` on sqlparser does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions sqlparser 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.0, Flutter 3.35.7, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
995
likes
120
points
18.2k
downloads

Publisher

verified publisherpinch.nl

Weekly Downloads

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

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

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

More

Packages that depend on floor