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