isar_generator 3.0.6-dev.0 icon indicating copy to clipboard operation
isar_generator: ^3.0.6-dev.0 copied to clipboard

Code generator for the Isar Database. Finds classes annotated with @Collection.

14
likes
110/ 140
pub points
93%
popularity

We analyzed this package 15 days ago, and awarded it 110 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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: Apache-2.0.

icon indicating section status
Provide documentation
0 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 0 out of 2 API elements (0.0 %) 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.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:isar_generator/isar_generator.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:isar_generator/isar_generator.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:isar_generator/isar_generator.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/utils.dart that imports:
  • package:build/build.dart that imports:
  • package:build/src/generate/run_post_process_builder.dart that imports:
  • package:build/src/builder/post_process_builder.dart that imports:
  • package:build/src/builder/builder.dart that imports:
  • package:build/src/builder/build_step.dart that imports:
  • package:build/src/asset/reader.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 13 issues. Showing the first 2:

INFO: 'element2' is deprecated and shouldn't be used. Use element instead.

lib/src/helper.dart:53:27

   ╷
53 │   bool get isLink => type.element2!.name == 'IsarLink';
   │                           ^^^^^^^^
   ╵

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

INFO: 'element2' is deprecated and shouldn't be used. Use element instead.

lib/src/helper.dart:55:28

   ╷
55 │   bool get isLinks => type.element2!.name == 'IsarLinks';
   │                            ^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
analyzer>=4.6.0 <6.0.05.8.05.8.0
build^2.3.02.3.12.3.1
dart_style^2.2.32.3.02.3.0
dartx^1.1.01.1.01.1.0
glob^2.0.22.1.12.1.1
isar3.0.6-dev.03.0.6-dev.03.0.6-dev.0
path^1.8.11.8.31.8.3
source_gen^1.2.21.2.71.2.7
xxh3^1.0.11.0.11.0.1
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-56.0.056.0.0
args-2.4.02.4.0
async-2.11.02.11.0
characters-1.3.01.3.0
clock-1.1.11.1.1
collection-1.17.11.17.1
convert-3.1.13.1.1
crypto-3.0.23.0.2
ffi-2.0.12.0.1
file-6.1.46.1.4
js-0.6.70.6.7
logging-1.1.11.1.1
meta-1.9.01.9.0
package_config-2.1.02.1.0
pub_semver-2.1.32.1.3
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
time-2.1.32.1.3
typed_data-1.3.11.3.1
watcher-1.0.21.0.2
yaml-3.1.13.1.1

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.27, Dart 2.19.4.

14
likes
110
pub points
93%
popularity

Publisher

verified publisher iconisar.dev

Code generator for the Isar Database. Finds classes annotated with @Collection.

Homepage
Repository (GitHub)

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

analyzer, build, dart_style, dartx, glob, isar, path, source_gen, xxh3

More

Packages that depend on isar_generator