Remove duplication for qr codes. (#628)

This commit is contained in:
mkyq
2022-11-16 18:30:35 -05:00
committed by GitHub
parent 1efced7607
commit ab305e22a2
@@ -9,7 +9,6 @@ class QrPainter extends CustomPainter {
this.errorCorrectionLevel,
) : this._qr = QrCode(version, errorCorrectionLevel)..addData(data) {
_p.color = this.color;
_qr.addData(data);
_qrImage = QrImage(_qr);
}