test_screenshot
A sample project to capture image from widget for flutter web html.
In general boundary?.toImage()
doesn't work on flutter web html version. So we have use a JS library html2canvas to take snapshot of widget.
Getting Started
To run the project
flutter run -d Chrome
To run the project as HTML
flutter run --web-renderer html -d Chrome
** Image**
Known Issue
- html2canvas take screenshot from the given area. So if something floats on top the area then it will be captured.
- Some style properties are not supported eg. Color Filter. more details
- Custom ClipPath is getting ignored scene flutter 3.0