nitro_generator 0.4.0
nitro_generator: ^0.4.0 copied to clipboard
Code generator for Nitro Modules (Nitrogen). Converts *.native.dart specs to Dart FFI, Kotlin, Swift, and C++ bindings.
We analyzed this package 18 hours ago, and awarded it 80 pub points (of a possible 160):
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
3 out of 7 API elements (42.9 %) have documentation comments.
Some symbols that are missing documentation: builder, builder.NitroGeneratorBuilder, builder.NitroGeneratorBuilder.NitroGeneratorBuilder.new, builder.nitroGeneratorBuilder.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The getter 'isSynthetic' isn't defined for the type 'FieldElement'.
lib/src/spec_extractor.dart:159:64
╷
159 │ final fields = cls.fields.where((f) => !f.isStatic && !f.isSynthetic).map((f) {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/spec_extractor.dart
ERROR: The getter 'isSynthetic' isn't defined for the type 'FieldElement'.
lib/src/spec_extractor.dart:459:43
╷
459 │ .where((f) => !f.isStatic && !f.isSynthetic)
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/spec_extractor.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
>=8.1.1 <14.0.0 |
13.0.0 | 13.0.0 | |
build |
^4.0.6 |
4.0.6 | 4.0.6 | |
dart_style |
^3.1.7 |
3.1.9 | 3.1.9 | |
nitro_annotations |
^0.4.0 |
0.4.0 | 0.4.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
source_gen |
^4.2.3 |
4.2.3 | 4.2.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 100.0.0 | 100.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.18.2 | 1.18.2 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Dart 3.11.5.
Check the analysis log for details.