core/widget_registry library
Registry that maps widget type strings to Flutter widget builders.
Classes
Typedefs
-
WidgetBuilder
= Widget Function(Map<
String, dynamic> params, {void onAction(String url)?}) -
Signature for a factory that builds a widget from JSON params.
onActionis called when the widget triggers an action (e.g. button tap, link tap) and receives the target URL or action string.