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

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

70/ 160
pub points
484
downloads

We analyzed this package 14 hours ago, and awarded it 70 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: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

39 out of 327 API elements (11.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: builder, builder.entityPropsBuilder, flora_orm, flora_orm.ColumnDefinition, flora_orm.ColumnDefinition.ColumnDefinition.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

ERROR: The named parameter 'withNullability' is required, but there's no corresponding argument.

lib/src/builders/entity_props_generator.dart:16:7

   ╷
16 │       getDisplayString().replaceFirst(RegExp(r'[?*]'), '');
   │       ^^^^^^^^^^^^^^^^
   ╵

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

ERROR: The named parameter 'withNullability' is required, but there's no corresponding argument.

lib/src/builders/entity_props_generator.dart:138:34

    ╷
138 │                 typeFull: e.type.getDisplayString(),
    │                                  ^^^^^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
analyzer ^6.2.0 6.4.1 10.0.0
build ^2.4.1 2.4.1 4.0.4
build_config ^1.1.1 1.2.0 1.2.0
equatable ^2.0.3 2.0.8 2.0.8
flutter_lints ^5.0.0 5.0.0 6.0.0
meta ^1.7.0 1.17.0 1.17.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.5.4 2.5.4
source_gen ^1.4.0 1.5.0 4.1.2
sqflite ^2.0.3 2.4.2 2.4.2
sqflite_common ^2.5.4+5 2.5.6 2.5.6
sqflite_common_ffi ^2.1.1+1 2.4.0+2 2.4.0+2
uuid ^4.2.2 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 67.0.0 93.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 2.3.6 3.1.3
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
hooks - 1.0.0 1.0.0
json_annotation - 4.9.0 4.9.0
lints - 5.1.1 6.0.0
logger - 2.6.2 2.6.2
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
native_toolchain_c - 0.17.4 0.17.4
package_config - 2.2.0 2.2.0
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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.2.0 2.2.0
pubspec - 2.3.0 2.3.0 Discontinued
pubspec_parse - 1.5.0 1.5.0
quiver - 3.2.2 3.2.2
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 3.1.3 3.1.3
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
vector_math - 2.2.0 2.2.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3
yaml_writer - 2.1.0 2.1.0

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

Found 4 issues. Showing the first 2:

The constraint `^6.2.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 `^2.4.1` on build does not support the stable version `3.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 8 errors:

  • MISSING_REQUIRED_ARGUMENT - lib/src/builders/entity_props_generator.dart:16:7 - The named parameter 'withNullability' is required, but there's no corresponding argument.
  • MISSING_REQUIRED_ARGUMENT - lib/src/builders/entity_props_generator.dart:138:34 - The named parameter 'withNullability' is required, but there's no corresponding argument.
  • MISSING_REQUIRED_ARGUMENT - lib/src/builders/entity_props_generator.dart:151:42 - The named parameter 'withNullability' is required, but there's no corresponding argument.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: