Flutter plugin for scanning and generating QR codes using the ZXing library, supporting Android, iOS, and desktop platforms
flutterbarcode-generatorbarcode-scannergeneratorqrqrcodeqrcode-generatorqrcode-scannerscannerzxingbarcodezxscanner
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
913 B
27 lines
913 B
/// Represents the position of a barcode in an image. |
|
class Position { |
|
Position( |
|
this.imageWidth, |
|
this.imageHeight, |
|
this.topLeftX, |
|
this.topLeftY, |
|
this.topRightX, |
|
this.topRightY, |
|
this.bottomLeftX, |
|
this.bottomLeftY, |
|
this.bottomRightX, |
|
this.bottomRightY, |
|
); |
|
|
|
int imageWidth; // width of the image |
|
int imageHeight; // height of the image |
|
|
|
int topLeftX; // x coordinate of top left corner of barcode |
|
int topLeftY; // y coordinate of top left corner of barcode |
|
int topRightX; // x coordinate of top right corner of barcode |
|
int topRightY; // y coordinate of top right corner of barcode |
|
int bottomLeftX; // x coordinate of bottom left corner of barcode |
|
int bottomLeftY; // y coordinate of bottom left corner of barcode |
|
int bottomRightX; // x coordinate of bottom right corner of barcode |
|
int bottomRightY; // y coordinate of bottom right corner of barcode |
|
}
|
|
|