rfw_gen_builder 0.4.1
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
showdirective in generated.rfw_library.dartimports to prevent name conflicts with Flutter built-in widgets (#23) - Fix: improve error message when
DataRef/RfwConcat/StateRefused as a widget (#24) - Fix: clarify "no custom widgets found" message in empty
.rfw_library.dart(#25)
0.4.0 #
- Breaking: Remove
rfw_gen.yamlsupport andyamldependency - Add
WidgetResolverfor Resolver-based custom widget analysis - Add
LocalWidgetBuilderGenerator— auto-generatesLocalWidgetBuildermaps - Generate
.rfw_library.dartand.rfw_meta.jsonper source file - Require
analyzer >=9.0.0for 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
analyzerconstraint from^9.0.0to>=7.4.5 <10.0.0for Flutter 3.32+ compatibility
0.2.0 #
- Breaking:
RfwConverter.convertFromSource()andconvertFromAst()now returnConvertResultinstead ofString - Add
IssueCollectorfor accumulating conversion errors with line:column info - Replace silent
developer.logwith build-visiblelog.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
UnsupportedExpressionErrorthrow sites
0.1.0 #
- Initial release
build_runnerintegration 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)