Skip to content

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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages