DavinciCapture class

Constructors

DavinciCapture.new()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

click(GlobalKey<State<StatefulWidget>> key, {String fileName = "davinci", bool openFilePreview = true, double pixelRatio = 3.0, 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.
  • offStage(Widget widget, {Duration? wait, Size? logicalSize, Size? imageSize, bool openFilePreview = true, double pixelRatio = 3.0, String fileName = "davinci", 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.