flutter_widget_to_image
flutter_widget_to_image copied to clipboard
NoSuchMethodError: The method 'findRenderObject' was called on null.
when RenderRepaintBoundary boundary = _globalKey.currentContext.findRenderObject();
Same here. Any suggestions ?
The problem was due to _globalKey not being tied to a valid RepaintBoundart widget
Are there any solution to this problem?