flutter_gen_core 5.9.0 copy "flutter_gen_core: ^5.9.0" to clipboard
flutter_gen_core: ^5.9.0 copied to clipboard

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.

5
likes
120/ 160
pub points
437k
downloads

We analyzed this package 39 hours ago, and awarded it 120 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/FlutterGen/flutter_gen/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

35 out of 248 API elements (14.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: asset_type, asset_type.AssetType.AssetType.new, asset_type.AssetType.addChild, asset_type.AssetType.baseName, asset_type.AssetType.children.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

SDK issues found:

Package is not compatible with the Dart SDK.

Because:

  • flutter_gen_core that depends on:
  • vector_graphics_compiler that is a package requiring flutter.
  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flutter_gen_core/flutter_generator.dart that imports:
  • package:flutter_gen_core/settings/config.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_gen_core/flutter_generator.dart that imports:
  • package:flutter_gen_core/settings/config.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'style' is deprecated and shouldn't be used. Moved to under outputs.

lib/generators/assets_generator.dart:83:52

83final deprecatedStyle = config.flutterGen.assets.style != null;
   │                                                    ^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/generators/assets_generator.dart

INFO: 'packageParameterEnabled' is deprecated and shouldn't be used. Moved to under outputs.

lib/generators/assets_generator.dart:85:32

   
85        config.flutterGen.assets.packageParameterEnabled != null;
                                   ^^^^^^^^^^^^^^^^^^^^^^^
   
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/generators/assets_generator.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
archive >=3.4.0 <5.0.0 4.0.7 4.0.7
args ^2.0.0 2.7.0 2.7.0
collection ^1.15.0 1.19.1 1.19.1
color ^3.0.0 3.0.0 3.0.0
dart_style >=2.2.4 <4.0.0 3.0.1 3.0.1
dartx ^1.0.0 1.2.0 1.2.0
glob ^2.0.0 2.1.3 2.1.3
image_size_getter ^2.4.0 2.4.0 2.4.0
json_annotation ^4.4.0 4.9.0 4.9.0
meta ^1.7.0 1.16.0 1.16.0
mime >=1.0.0 <3.0.0 2.0.0 2.0.0
path ^1.8.0 1.9.1 1.9.1
pub_semver ^2.0.0 2.2.0 2.2.0
vector_graphics_compiler ^1.1.9 1.1.16 1.1.16
xml ^6.0.0 6.5.0 6.5.0
yaml ^3.0.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 82.0.0 82.0.0
analyzer - 7.4.4 7.4.4
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
hashcodes - 2.0.0 2.0.0
package_config - 2.2.0 2.2.0
path_parsing - 1.1.0 1.1.0
petitparser - 6.1.0 6.1.0
posix - 6.0.2 6.0.2
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
time - 2.1.5 2.1.5
typed_data - 1.4.0 1.4.0
vector_graphics_codec - 1.1.13 1.1.13
vector_math - 2.1.5 2.1.5
watcher - 1.1.1 1.1.1

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/flutter_generator.dart:37:7 - The named parameter 'languageVersion' isn't defined.
  • UNDEFINED_GETTER - lib/flutter_generator.dart:37:38 - The getter 'latestLanguageVersion' isn't defined for the type 'DartFormatter'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 6Jul 4Aug 1Aug 29Sep 26Oct 24Nov 21Dec 19Jan 16Feb 13Mar 13Apr 10020k40k60k80k100k120k>=0.0.0-0 <1.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0>=4.0.0-0 <5.0.0>=5.0.0-0 <6.0.0
5
likes
120
points
437k
downloads

Publisher

verified publisherwasabeef.jp

Weekly Downloads

2024.05.30 - 2025.04.24

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

archive, args, collection, color, dart_style, dartx, glob, image_size_getter, json_annotation, meta, mime, path, pub_semver, vector_graphics_compiler, xml, yaml

More

Packages that depend on flutter_gen_core