flamingo_generator 0.10.0 icon indicating copy to clipboard operation
flamingo_generator: ^0.10.0 copied to clipboard

Automatically generate code for converting flamingo JSON by annotating Dart classes.

1
likes
90/ 130
pub points
5%
popularity

We analyzed this package 3 days ago, and awarded it 90 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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.

icon indicating section status
Provide documentation
10 / 10icon to trigger folding of the section

10/10 points: Package has an example

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
analyzer^1.0.01.7.25.4.0
build^2.0.02.3.12.3.1
flamingo_annotation^0.5.00.5.00.5.0
meta^1.3.01.9.01.9.0
source_gen^0.9.00.9.10+51.2.7
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-22.0.052.0.0
args-2.3.22.3.2
async-2.10.02.10.0
cli_util-0.3.50.3.5
collection-1.17.11.17.1
convert-3.1.13.1.1
crypto-3.0.23.0.2
dart_style-2.1.12.2.4
file-6.1.46.1.4
glob-2.1.12.1.1
logging-1.1.11.1.1
package_config-2.1.02.1.0
path-1.8.31.8.3
pedantic-1.11.11.11.1
pub_semver-2.1.32.1.3
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
watcher-1.0.21.0.2
yaml-3.1.13.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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

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.

1
likes
90
pub points
5%
popularity

Publisher

verified publisher iconneverjp.com

Automatically generate code for converting flamingo JSON by annotating Dart classes.

Repository (GitHub)

License

Icon for licenses.MIT (LICENSE)

Dependencies

analyzer, build, flamingo_annotation, meta, source_gen

More

Packages that depend on flamingo_generator