increase correction level to mitigate image cutout
This commit is contained in:
@@ -31,6 +31,8 @@ Future<void> showQrCode(BuildContext context, String data) {
|
||||
image: AssetImage('assets/icon/icon.png'),
|
||||
),
|
||||
),
|
||||
//Increase level to mitigate image cutout
|
||||
errorCorrectLevel: QrErrorCorrectLevel.H,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
|
||||
Reference in New Issue
Block a user