flutter_2yaml 0.4.0 copy "flutter_2yaml: ^0.4.0" to clipboard
flutter_2yaml: ^0.4.0 copied to clipboard

Convert Flutter .dart widget files into compact YAML representations optimized for LLM/AI token consumption. Supports bidirectional conversion with pipe syntax, CSS-like shorthands, and arrow callback [...]

120/ 160
pub points
29
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

64 out of 77 API elements (83.1 %) have documentation comments.

Some symbols that are missing documentation: flutter_2yaml.ConstructorParam.ConstructorParam.new, flutter_2yaml.Converter.Converter.new, flutter_2yaml.DartFileAnalyzer.DartFileAnalyzer.new, flutter_2yaml.DartFileModel.DartFileModel.new, flutter_2yaml.DartGenerator.DartGenerator.new.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:flutter_2yaml/flutter_2yaml.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:flutter_2yaml/flutter_2yaml.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:flutter_2yaml/flutter_2yaml.dart that declares support for platforms: Windows, Linux, macOS.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 19 issues. Showing the first 2:

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/src/analyzer/dart_file_analyzer.dart:177:27

    ╷
177 │         if (parameterList != null) {
    │                           ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/analyzer/dart_file_analyzer.dart

WARNING: Unnecessary cast.

lib/src/analyzer/widget_visitor.dart:362:49

    ╷
362 │         return '$prefix=${_extractPropertyValue(args.first as Expression)}';
    │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/analyzer/widget_visitor.dart

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

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

Package Constraint Compatible Latest Notes
analyzer ^7.4.5 7.7.1 14.4.0
args ^2.7.0 2.7.0 2.7.0
path ^1.9.1 1.9.1 1.9.1
watcher ^1.1.1 1.2.1 1.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 85.0.0 108.0.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.2.0 2.2.0
meta - 1.19.0 1.19.0
package_config - 2.2.0 3.0.0
pub_semver - 2.2.1 2.2.1
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
yaml - 3.1.4 3.1.4

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

The constraint `^7.4.5` on analyzer does not support the stable version `8.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
29
downloads

Documentation

API reference

Publisher

verified publishermsishamim.com

Weekly Downloads

Convert Flutter .dart widget files into compact YAML representations optimized for LLM/AI token consumption. Supports bidirectional conversion with pipe syntax, CSS-like shorthands, and arrow callback notation.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

analyzer, args, path, watcher

More

Packages that depend on flutter_2yaml