CameraImageCropper class Null safety

Camera Image Cropper, in order to limit the barcode scan computations.

Use CameraController with imageFormatGroup: ImageFormatGroup.yuv420 left01, top01, width01 and height01 are values between 0 and 1 that delimit the cropping area. For instance:

  • left01: 0, top01: 0, width01: 1, height01: .2 delimit the top 20% banner
  • left01: .5, top01: .5, width01: .5, height01: ..5 the bottom right rect

Constructors

CameraImageCropper(dynamic cameraImage, dynamic cameraDescription, {required double left01, required double top01, required double width01, required double height01})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height01 double
final
left01 double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
top01 double
final
width01 double
final

Methods

getBytes() Uint8List
getPlaneMetaData() List
getSize() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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