widgets_to_png 1.0.1 copy "widgets_to_png: ^1.0.1" to clipboard
widgets_to_png: ^1.0.1 copied to clipboard

A Flutter package that allows converting any widget to a PNG image and saving it to the device gallery.

1.0.0 #

  • Initial release of widgets_to_png.
  • Added WidgetToPng widget to wrap any widget for image capturing.
  • Implemented ImageConverter class with methods to:
    • Capture widget as bytes with captureWidgetToBytes.
    • Save captured bytes to a temporary file with saveBytesToFile.
    • Convert captured bytes to XFile with convertBytesToXFile.
    • Save captured widget directly to the gallery with saveWidgetToGallery.
  • Added ImageQuality enum to specify the quality of the captured image.
  • Included assertions to ensure either imageQuality or customImageQuality is provided, but not both or none.

1.0.1 #

  • Added usage example in the documentation.
4
likes
150
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that allows converting any widget to a PNG image and saving it to the device gallery.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image_gallery_saver, image_picker, path, path_provider

More

Packages that depend on widgets_to_png