Closed Arokip closed 3 years ago
Add exporting feature. Allow user to export the diagram as an image and as an importable diagram file.
RenderRepaintBoundary boundary = globalKey.currentContext.findRenderObject(); ui.Image image = await boundary.toImage(); This code works just for flutter mobile thus image export doesn't work for flutter web.
RenderRepaintBoundary boundary = globalKey.currentContext.findRenderObject();
ui.Image image = await boundary.toImage();
Add exporting feature. Allow user to export the diagram as an image and as an importable diagram file.