rulecms_widget 0.2.1 copy "rulecms_widget: ^0.2.1" to clipboard
rulecms_widget: ^0.2.1 copied to clipboard

Flutter SDK for RuleCMS — fetch published/draft widgets by token + key and render the layout tree.

Changelog #

0.2.1 #

  • Export RenderComponents so hosts (including rulecms-app Preview) can pin deviceDisplayType without going through fetch.

0.2.0 #

  • Accept componentProps on RuleCMSWidget and resolve widgetInstanceProps by column id or a /-path of enclosing collection columns (longest tail match wins).
  • Warn in debug when a componentProps key addresses no component in the widget.
  • Honour library resolveNoContainer / noContainer / resolveRendersOwnElement so column box styles wrap only when the card asks for it.
  • Pass host className (from css-classes-3-resolutions) to the card when it renders its own element; otherwise keep it on a RuleCMSHostClassName wrapper.
  • Extend LibraryComponentBuildContext with className, widgetInstanceProps, and children.
  • Export MappedColumnStyles, ComponentPropsMap, and the resolver helpers.

0.1.0 #

  • Initial Flutter SDK mirroring @rulecms/widget-react fetch + layout renderer.
  • RuleCMSWidgetProvider / RuleCMSWidget (client-fetch and pre-fetched modes).
  • Same published vs dev. token URL routing as widget-react.
  • Device resolution for *-3-resolutions attributes.
  • MVP style mapping (margin, padding, colors, font, flex alignment, hide).
  • Component library registration contract.
0
likes
0
points
129
downloads

Publisher

verified publisherrulecms.com

Weekly Downloads

Flutter SDK for RuleCMS — fetch published/draft widgets by token + key and render the layout tree.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on rulecms_widget