rfw_gen_builder 0.4.1 copy "rfw_gen_builder: ^0.4.1" to clipboard
rfw_gen_builder: ^0.4.1 copied to clipboard

build_runner code generator for rfw_gen. Converts @RfwWidget-annotated Flutter functions to RFW format.

0.4.1 #

  • Fix: use show directive in generated .rfw_library.dart imports to prevent name conflicts with Flutter built-in widgets (#23)
  • Fix: improve error message when DataRef/RfwConcat/StateRef used as a widget (#24)
  • Fix: clarify "no custom widgets found" message in empty .rfw_library.dart (#25)

0.4.0 #

  • Breaking: Remove rfw_gen.yaml support and yaml dependency
  • Add WidgetResolver for Resolver-based custom widget analysis
  • Add LocalWidgetBuilderGenerator — auto-generates LocalWidgetBuilder maps
  • Generate .rfw_library.dart and .rfw_meta.json per source file
  • Require analyzer >=9.0.0 for Resolver API compatibility

0.3.0 #

  • No changes (version bump to match rfw_gen_mcp)

0.2.2 #

  • No changes (version bump to match rfw_gen_mcp)

0.2.1 #

  • Widen analyzer constraint from ^9.0.0 to >=7.4.5 <10.0.0 for Flutter 3.32+ compatibility

0.2.0 #

  • Breaking: RfwConverter.convertFromSource() and convertFromAst() now return ConvertResult instead of String
  • Add IssueCollector for accumulating conversion errors with line:column info
  • Replace silent developer.log with build-visible log.warning/log.severe
  • Add suggestion messages for common unsupported patterns (ternary → RfwSwitch, etc.)
  • Add parseLibraryFile() validation step for generated rfwtxt
  • Fix missing offset in 7 UnsupportedExpressionError throw sites

0.1.0 #

  • Initial release
  • build_runner integration for rfw_gen
  • Generates .rfwtxt (text) and .rfw (binary) output
  • 65 built-in widget mappings (Core + Material)
  • Custom widget support via rfw_gen.yaml (removed in 0.4.0)
0
likes
0
points
399
downloads

Publisher

unverified uploader

Weekly Downloads

build_runner code generator for rfw_gen. Converts @RfwWidget-annotated Flutter functions to RFW format.

Repository (GitHub)
View/report issues

Topics

#rfw #remote-flutter-widgets #code-generation #build-runner

License

unknown (license)

Dependencies

analyzer, build, rfw, rfw_gen

More

Packages that depend on rfw_gen_builder