flora_orm 2.0.20 copy "flora_orm: ^2.0.20" to clipboard
flora_orm: ^2.0.20 copied to clipboard

Flutter plugin for ORM in front of storage like sqflite and shared_preferences

2
likes
130/ 160
pub points
380
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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

OK
Provide documentation
20 / 20trigger folding of the section

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

198 out of 508 API elements (39.0 %) have documentation comments.

Some symbols that are missing documentation: builder, builder.entityPropsBuilder, flora_orm, flora_orm.Base64Codec.Base64Codec.urlSafe, flora_orm.Base64Encoder.Base64Encoder.urlSafe.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/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 does not support platform `Windows`.

Because:

  • package:flora_orm/flora_orm.dart that imports:
  • package:flora_orm/src/orm_manager.dart that imports:
  • package:flora_orm/engines/sqflite_storage.dart that imports:
  • package:flora_orm/src/engines/sqflite_engine.dart that imports:
  • package:flora_orm/src/contexts/sqflite_db_context.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flora_orm/flora_orm.dart that imports:
  • package:flora_orm/src/orm_manager.dart that imports:
  • package:flora_orm/engines/sqflite_storage.dart that imports:
  • package:flora_orm/src/engines/sqflite_engine.dart that imports:
  • package:flora_orm/src/contexts/sqflite_db_context.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:flora_orm/flora_orm.dart that imports:
  • package:flora_orm/src/orm_manager.dart that imports:
  • package:flora_orm/engines/sqflite_storage.dart that imports:
  • package:flora_orm/src/engines/sqflite_engine.dart that imports:
  • package:flora_orm/src/contexts/sqflite_db_context.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flora_orm/flora_orm.dart that imports:
  • package:flora_orm/src/orm_manager.dart that imports:
  • package:flora_orm/engines/sqflite_storage.dart that imports:
  • package:flora_orm/src/engines/sqflite_engine.dart that imports:
  • package:flora_orm/src/contexts/sqflite_db_context.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: This default clause is covered by the previous cases.

lib/src/models/entity.dart:245:7

    ╷
245 │       default:
    │       ^^^^^^^
    ╵

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

INFO: Empty catch block.

lib/src/builders/entity_props_generator.dart:645:21

    ╷
645 │         } catch (e) {}
    │                     ^^
    ╵

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

OK
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
analyzer ^6.7.0 6.11.0 7.1.0
build ^2.4.1 2.4.2 2.4.2
build_config ^1.1.1 1.1.2 1.1.2
collection ^1.18.0 1.19.0 1.19.1
equatable ^2.0.3 2.0.7 2.0.7
flutter flutter 0.0.0 0.0.0
flutter_lints ^5.0.0 5.0.0 5.0.0
meta ^1.7.0 1.15.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.0.11 2.1.5 2.1.5
pubspec_dependency_sorter ^1.0.4 1.0.5 1.0.5
shared_preferences ^2.0.15 2.3.4 2.3.4
source_gen ^1.4.0 1.5.0 2.0.0
sqflite ^2.0.3 2.4.1 2.4.1
sqflite_common ^2.5.4+5 2.5.4+6 2.5.4+6
sqflite_common_ffi ^2.3.4 2.3.4+4 2.3.4+4
uuid ^4.2.2 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 76.0.0 78.0.0
_macros - 0.3.3 0.3.3
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.4.0
checked_yaml - 2.0.3 2.0.3
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.7 3.0.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
json_annotation - 4.9.0 4.9.0
lints - 5.1.1 5.1.1
logger - 2.5.0 2.5.0
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
package_config - 2.1.1 2.1.1
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.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
pub_semver - 2.1.5 2.1.5
pubspec - 2.3.0 2.3.0
pubspec_parse - 1.4.0 1.4.0
quiver - 3.2.2 3.2.2
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite_android - 2.4.0 2.4.0
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 2.5.0 2.5.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3
yaml_writer - 2.0.1 2.0.1

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

The constraint `^6.7.0` on analyzer does not support the stable version `7.0.0`.

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

The constraint `^1.4.0` on source_gen does not support the stable version `2.0.0`, that was published 3 days ago.

When source_gen is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions source_gen 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

2
likes
130
points
380
downloads

Publisher

verified publishertatlacas.com

Weekly Downloads

Flutter plugin for ORM in front of storage like sqflite and shared_preferences

Repository (GitHub)
View/report issues

Topics

#sql #database #orm #storage #persistence

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

analyzer, build, build_config, collection, equatable, flutter, flutter_lints, meta, path, path_provider, pubspec_dependency_sorter, shared_preferences, source_gen, sqflite, sqflite_common, sqflite_common_ffi, uuid

More

Packages that depend on flora_orm