gen_keys 0.1.2 icon indicating copy to clipboard operation
gen_keys: ^0.1.2 copied to clipboard

Code generator for widget keys. Builds a keys class in a separate parts file for classes annotated with @GenKeys().

1
likes
120/ 140
pub points
0%
popularity

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

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
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

10/10 points: 20% or more of the public API has dartdoc comments

  • 10 out of 21 API elements (47.6 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
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: 'parts' is deprecated and shouldn't be used. Use parts2 instead.

lib/keys_file_builder.dart:122:39

    ╷
122 │     for (final part in libraryElement.parts) {
    │                                       ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/keys_file_builder.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^4.2.04.7.05.8.0
build^2.3.02.3.12.3.1
flutterflutter0.0.00.0.0
source_gen^1.2.21.2.61.2.7
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-47.0.056.0.0
args-2.4.02.4.0
async-2.11.02.11.0
characters-1.2.11.3.0
collection-1.17.01.17.1
convert-3.1.13.1.1
crypto-3.0.23.0.2
dart_style-2.2.42.3.0
file-6.1.46.1.4
glob-2.1.12.1.1
js-0.6.50.6.7
logging-1.1.11.1.1
material_color_utilities-0.2.00.3.0
meta-1.8.01.9.0
package_config-2.1.02.1.0
path-1.8.31.8.3
pub_semver-2.1.32.1.3
sky_engine-0.0.990.0.99
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
vector_math-2.1.42.1.4
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 `^4.2.0` on analyzer does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

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

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

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.27, Flutter 3.7.7, Dart 2.19.4.

1
likes
120
pub points
0%
popularity

Publisher

verified publisher iconrichardcoutts.com

Code generator for widget keys. Builds a keys class in a separate parts file for classes annotated with @GenKeys().

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

analyzer, build, flutter, source_gen

More

Packages that depend on gen_keys