davinci 0.0.1 davinci: ^0.0.1 copied to clipboard
A flutter package to convert any widget to image.
Davinci #
A flutter package to convert any widget to image.
Preview #
Usage #
Imports
import 'package:davinci/davinci.dart';
import 'package:davinci/core/davinci_capture.dart';
Pseudo code
So by default the generated image name will be "davinci". But if you wish to change it, you can pass the image name in DavinciCapture.click method
await DavinciCapture.click(imageKey, fileName: "Hello");
Note #
The Generated image can be shared to other apps and chats but it is NOT stored anywhere on the device. If you wish to save it locally, you can save it from the preview page. But do remeber to add necessary permissions in info.plist
and AndroidManifest.xml
.