export method
export the runtime widget to json
Implementation
@override
Map<String, dynamic> export(Widget? widget, BuildContext? buildContext) {
var realWidget = widget as Positioned;
return <String, dynamic>{
"type": "Positioned",
"top": realWidget.top ?? null,
"right": realWidget.right ?? null,
"bottom": realWidget.bottom ?? null,
"left": realWidget.left ?? null,
"width": realWidget.width ?? null,
"height": realWidget.height ?? null,
"child": DynamicWidgetBuilder.export(realWidget.child, buildContext)
};
}