realm_common 1.9.0 copy "realm_common: ^1.9.0" to clipboard
realm_common: ^1.9.0 copied to clipboard

Hosts the common code shared between realm, realm_dart and realm_generator packages. This package is part of the official Realm Flutter and Realm Dart SDKs.

2
likes
110/ 140
pub points
58%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/realm/realm-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

93 out of 128 API elements (72.7 %) have documentation comments.

Some symbols that are missing documentation: realm_common.GeoBox.northEast, realm_common.GeoBox.southWest, realm_common.GeoCircle.center, realm_common.GeoCircle.radius, realm_common.GeoPoint.lat.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:realm_common/realm_common.dart that imports:
  • package:realm_common/src/realm_types.dart that imports:
  • dart:ffi
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/realm_types.dart:231:12

    ╷
231 │   operator ==(Object? other) {
    │            ^^
    ╵

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

INFO: Dangling library doc comment.

lib/realm_common.dart:1:1

  ╷
1 │ ////////////////////////////////////////////////////////////////////////////////
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.18.0 1.18.0 1.18.0
objectid ^3.0.0 3.0.0 3.0.0
sane_uuid ^1.0.0-alpha.4 1.0.0-alpha.5 1.0.0-alpha.5
Transitive dependencies
Package Constraint Compatible Latest
crypto - 3.0.3 3.0.3
meta - 1.15.0 1.15.0
typed_data - 1.3.2 1.3.2

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

2
likes
110
pub points
58%
popularity

Publisher

verified publisherrealm.io

Hosts the common code shared between realm, realm_dart and realm_generator packages. This package is part of the official Realm Flutter and Realm Dart SDKs.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

collection, objectid, sane_uuid

More

Packages that depend on realm_common