scanWindow property
if set barcodes will only be scanned if they fall within this Rect useful for having a cut-out overlay for example. these Rect coordinates are relative to the widget size, so by how much your rectangle overlays the actual image can depend on things like the BoxFit
Implementation
final Rect? scanWindow;