pigeon 0.1.17
pigeon: ^0.1.17 copied to clipboard

Dart native

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

177
likes
90 / 110
pub points
81 %
popularity

We analyzed this package on Jan 19, 2021, and awarded it 90 pub points (of a possible 110):

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

  • 136 out of 150 API elements (90.7 %) 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`.

bin/pigeon.dart:53:3

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

To reproduce make sure you are using pedantic and run dartanalyzer bin/pigeon.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
args^1.5.21.6.01.6.0
path^1.6.41.7.01.7.0

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

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

177
likes
90
pub points
81%
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