flamingo_generator 0.10.0
flamingo_generator: ^0.10.0 copied to clipboard
Automatically generate code for converting flamingo JSON by annotating Dart classes.
We analyzed this package 3 days ago, and awarded it 90 pub points (of a possible 130):
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: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Windows
- ✓ Linux
- ✓ MacOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:flamingo_generator/flamingo_generator.dart
that imports:package:flamingo_generator/src/field_value_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:flamingo_generator/flamingo_generator.dart
that imports:package:flamingo_generator/src/field_value_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform Web
Because:
package:flamingo_generator/flamingo_generator.dart
that imports:package:flamingo_generator/src/field_value_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/utils.dart
that imports:package:build/build.dart
that imports:package:build/src/generate/run_post_process_builder.dart
that imports:package:build/src/builder/post_process_builder.dart
that imports:package:build/src/builder/builder.dart
that imports:package:build/src/builder/build_step.dart
that imports:package:build/src/asset/reader.dart
that imports:package:glob/glob.dart
that imports:package:glob/src/list_tree.dart
that imports:package:file/file.dart
that imports:package:file/src/interface.dart
that imports:package:file/src/io.dart
that imports:dart:io
20/30 points: code has no errors, warnings, lints, or formatting issues
INFO: The library 'package:source_gen/source_gen.dart' is legacy, and shouldn't be imported into a null safe library.
lib/flamingo_generator.dart:2:8
╷
2 │ import 'package:source_gen/source_gen.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/flamingo_generator.dart
INFO: The operand can't be null, so the condition is always true.
lib/src/field_value_generator.dart:216:22
╷
216 │ if (annotation != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/field_value_generator.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer | ^1.0.0 | 1.7.2 | 5.4.0 |
build | ^2.0.0 | 2.3.1 | 2.3.1 |
flamingo_annotation | ^0.5.0 | 0.5.0 | 0.5.0 |
meta | ^1.3.0 | 1.9.0 | 1.9.0 |
source_gen | ^0.9.0 | 0.9.10+5 | 1.2.7 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared | - | 22.0.0 | 52.0.0 |
args | - | 2.3.2 | 2.3.2 |
async | - | 2.10.0 | 2.10.0 |
cli_util | - | 0.3.5 | 0.3.5 |
collection | - | 1.17.1 | 1.17.1 |
convert | - | 3.1.1 | 3.1.1 |
crypto | - | 3.0.2 | 3.0.2 |
dart_style | - | 2.1.1 | 2.2.4 |
file | - | 6.1.4 | 6.1.4 |
glob | - | 2.1.1 | 2.1.1 |
logging | - | 1.1.1 | 1.1.1 |
package_config | - | 2.1.0 | 2.1.0 |
path | - | 1.8.3 | 1.8.3 |
pedantic | - | 1.11.1 | 1.11.1 |
pub_semver | - | 2.1.3 | 2.1.3 |
source_span | - | 1.9.1 | 1.9.1 |
string_scanner | - | 1.2.0 | 1.2.0 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.3.1 |
watcher | - | 1.0.2 | 1.0.2 |
yaml | - | 3.1.1 | 3.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` on analyzer does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions analyzer
to update the constraint.
The constraint `^0.9.0` on source_gen does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions source_gen
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Null safety support has one or more issues.
Package is not null safe
Because:
flamingo_generator
that depends on:source_gen
that doesn't opt in to null safety
For more information
Try running dart pub outdated --mode=null-safety
.
Be sure to read the migration guide.
Analysed with Pana 0.21.25
, Dart 2.19.0
.