export method
export the runtime widget to json
Implementation
@override
Map<String, dynamic> export(Widget? widget, BuildContext? buildContext) {
OverflowBox realWidget = widget as OverflowBox;
return <String, dynamic>{
"type": widgetName,
"alignment": exportAlignment(realWidget.alignment as Alignment?),
"minWidth": realWidget.minWidth,
"maxWidth": realWidget.maxWidth,
"minHeight": realWidget.minHeight,
"maxHeight": realWidget.maxHeight,
"child": DynamicWidgetBuilder.export(realWidget.child, buildContext)
};
}