pigeon 0.2.1
pigeon: ^0.2.1 copied to clipboard

Code generator tool to make communication between Flutter and the host platform type-safe and easier.

221
likes
110 / 130
pub points
86 %
popularity

We analyzed this package on May 7, 2021, and awarded it 110 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

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

  • 141 out of 153 API elements (92.2 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:pigeon/pigeon.dart that imports:
  • package:pigeon/pigeon_lib.dart that imports:
  • package:pigeon/objc_generator.dart that imports:
  • package:pigeon/generator_tools.dart that imports:
  • dart:mirrors
Pass static analysis
20 / 30

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

INFO: `Future` results in `async` function bodies must be `await`ed or marked `unawaited` using `package:pedantic`.

lib/pigeon_cl.dart:54:3

   ╷
54 │ ┌   Isolate.spawnUri(
55 │ │     // Using Uri.file instead of Uri.parse in order to parse backslashes as
56 │ │     // path segment separator with Windows semantics.
57 │ │     Uri.file(tempFile.path),
58 │ │     args,
59 │ │     receivePort.sendPort,
60 │ │     packageConfig: packageConfig,
61 │ └   );
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/pigeon_cl.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
args^2.0.02.1.02.1.0
path^1.8.01.8.01.8.0

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

Support sound null safety
20 / 20

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

Analysed with Pana 0.16.0, Dart 2.12.4.

221
likes
110
pub points
86%
popularity

Code generator tool to make communication between Flutter and the host platform type-safe and easier.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

aaclarke@google.com

License

BSD (LICENSE)

Dependencies

args, path

More

Packages that depend on pigeon