davinci 2.1.1 copy "davinci: ^2.1.1" to clipboard
davinci: ^2.1.1 copied to clipboard

A package to convert any widget to an image which can be saved locally or can be shared to other apps and chats.

[2.1.1] #

  • Readme update.

[2.1.0] #

  • Added support for Dart 3 and Flutter 3.10
  • Passing context in required now in the click and offStage methods, this is due to some deprecated methods in Flutter version 3.10

[2.0.10] #

  • Added Dynamic footer for offStage method, check out the readme on how to use this.

[2.0.8] #

  • Fixed saving of offstage widgets to device without opening the preview (Issue #18)

[2.0.7] #

  • Updated openFile obsolete package with better alternative.

[2.0.6] #

  • returnImageUint8List was broken before and now it's fixed. Silly mistake of not adding a return statement 🙈.
  • Thanks to gsoykan. PR #22.

[2.0.5] #

  • code optimised using pedantic analyzer

[2.0.4] #

  • unified parmeters in click and offStage methods
  • All the parameters in the click method is now avaliable in offStage method.
  • logicalSize and imageSize parameters are removed in offStage method in favour of pixelRatio parameter.
  • Code optimization.

[2.0.3] #

[2.0.2] - updated Readme #

[2.0.1] - Added #

  • Added SaveToDevice parameter to the click and offStage method. Now the images can be directly saved to gallery/photos app.

[2.0.0] - Added offStage support #

  • If the widget is not mounted in the widget tree, pass the widget in the DavinciCapture.offStage. Huge thanks to Christian Muertz.

[1.0.5] - Added capture parameters #

  • The pixelRatio can be user defined instead of the static value 3.
  • when the image is captured, you can either openFilePreview or returnImageUint8List
  • Minor bug fixes

[1.0.0] - Null safety support #

[0.0.3] - Initial Release #

168
likes
140
pub points
89%
popularity

Publisher

verified publishergokula.dev

A package to convert any widget to an image which can be saved locally or can be shared to other apps and chats.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, gallery_saver, open_filex, path_provider

More

Packages that depend on davinci