isar 2.5.0 copy "isar: ^2.5.0" to clipboard
isar: ^2.5.0 copied to clipboard

Fast Cross Platform Database for Flutter Apps. Supports indexes, FTS, queries etc.

2.27k
likes
130/ 160
pub points
17.5k
downloads

We analyzed this package 29 hours 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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

245 out of 260 API elements (94.2 %) have documentation comments.

Some symbols that are missing documentation: isar, isar.FilterCondition.FilterCondition.between, isar.IdWhereClause.IdWhereClause.any, isar.IdWhereClause.IdWhereClause.between, isar.IdWhereClause.IdWhereClause.equalTo.

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:isar/isar.dart that imports:
  • package:isar/src/native/isar_native.dart that imports:
  • package:isar/src/native/split_words.dart that imports:
  • package:isar/src/native/binary_writer.dart that imports:
  • package:isar/src/native/isar_core.dart that imports:
  • package:isar/src/native/bindings.dart that imports:
  • dart:ffi

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

Found 26 issues. Showing the first 2:

WARNING: The member 'getCollectionInternal' can only be used within instance members of subclasses of 'package:isar/src/isar.dart'.

lib/src/web/query_build.dart:111:16

    ╷
111 │       col.isar.getCollectionInternal(wc.linkCollection) as IsarCollectionImpl;
    │                ^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: The part-of directive uses a library name.

lib/src/annotations/backlink.dart:1:1

  ╷
1 │ part of isar;
  │ ^^^^^^^^^^^^^
  ╵

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

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
ffi ^1.1.2 1.2.1 2.1.3
js ^0.6.3 0.6.7 0.7.1
meta ^1.7.0 1.16.0 1.16.0

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

The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.

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

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js 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, Dart 3.6.0.

Check the analysis log for details.

2.27k
likes
130
points
17.5k
downloads

Publisher

verified publisherisar.dev

Weekly Downloads

Fast Cross Platform Database for Flutter Apps. Supports indexes, FTS, queries etc.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ffi, js, meta

More

Packages that depend on isar