discontinuedPackage davinci has been discontinued.
DavinciCapture class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
click(GlobalKey<State<StatefulWidget>> key, {String fileName = 'davinci', required BuildContext context, bool openFilePreview = true, bool saveToDevice = false, String? albumName, double? pixelRatio, bool returnImageUint8List = false})
→ Future
-
If the widget is in the widget tree, use this method.
if the fileName is not set, it sets the file name as "davinci".
you can define whether to openFilePreview or returnImageUint8List
openFilePreview is true by default.
Context is required.
-
offStage(Widget widget, {Duration? wait, bool openFilePreview = true, bool saveToDevice = false, String fileName = 'davinci', String? albumName, double? pixelRatio, required BuildContext context, BrandTagConfiguration? brandTag, bool returnImageUint8List = false})
→ Future
-
- If the widget is not in the widget tree, use this method.
if the fileName is not set, it sets the file name as "davinci".
you can define whether to openFilePreview or returnImageUint8List
If the image is blurry, calculate the pixelratio dynamically. See the readme
for more info on how to do it.
Context is required.