flutternaut_generator 0.0.3 copy "flutternaut_generator: ^0.0.3" to clipboard
flutternaut_generator: ^0.0.3 copied to clipboard

CLI tool that scans Flutter projects for Flutternaut widgets and extracts labels into a structured JSON file for AI test authoring.

0.0.3 #

  • Resolve @FlutternautView arguments that use static const references (e.g. AppRoutes.trip).
  • Two-pass analysis: first collects all static const string declarations across the project, then resolves annotation arguments against them.
  • Falls back to source text when a const reference cannot be resolved.

0.0.2 #

  • Fix compatibility with analyzer 7.x+ (NamedType.namename2 rename cycle).
  • Widen analyzer constraint to >=6.0.0 <11.0.0 to support Flutter 3.29.4 and newer.
  • Add view field to generated output from @FlutternautView class annotation.
  • Automatically propagate view from StatefulWidget to its State class.
  • Change dynamic label placeholder from {n} to {index} to match engine's ${index} variable.

0.0.1 #

  • Initial release.
  • AST-based scanner for Flutternaut widget usages.
  • Extracts labels, types, descriptions, and screen groupings.
  • Dynamic label detection with pattern rewriting.
  • CLI with configurable output path.
1
likes
130
points
199
downloads

Documentation

API reference

Publisher

verified publisherflutternaut.app

Weekly Downloads

CLI tool that scans Flutter projects for Flutternaut widgets and extracts labels into a structured JSON file for AI test authoring.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, args, path, yaml

More

Packages that depend on flutternaut_generator