Skip to content
forked from Imgkl/davinci

A flutter package to convert any widget to an Image.

License

Notifications You must be signed in to change notification settings

craftor-app/davinci

 
 

Repository files navigation

Davinchi

Simple use case of the Click method.

NOTE: only use this if widget is present in the widget tree

Returns the Uint8List of the widget


image = await DavinciCapture.click(
context: context, imageKey, pixelRatio: 3);

Offstage method

Creates new widget pipeline and captures screenshot of the widget.

NOTE: IN this method widget doesn't require to be present in the widget tree.

  image = await DavinciCapture.offStage(
                    context: context, const PreviewWidget());

About

A flutter package to convert any widget to an Image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 38.8%
  • CMake 32.1%
  • Dart 16.4%
  • Ruby 4.6%
  • HTML 3.2%
  • C 2.4%
  • Other 2.5%