Before the capture, the rectangle only covers up to 'n' of the invoice, but when looking at the captured image, it covers up to 'v'.
Here's a snippet of my code:
await _screenshotController.captureFromWidget(
Container(
decoration: BoxDecoration(
border: Border.all(color: Colors.red),
color: Colors.amber,
),
child: targetWidget,
),
);
Is there something I'm doing wrong?
original:

captured:
