export method
export the runtime widget to json
Implementation
@override
Map<String, dynamic>? export(Widget? widget, BuildContext? buildContext) {
Divider realWidget = widget as Divider;
return <String, dynamic>{
"type": widgetName,
"height": realWidget.height,
"thickness": realWidget.thickness,
"indent": realWidget.indent,
"endIndent": realWidget.endIndent,
"color": realWidget.color != null
? realWidget.color!.value.toRadixString(16): null,
};
}