Skip to content

Commit b0ba1ba

Browse files
Merge pull request #449 from devasx666/update_pading_shape
fix: fixed padding in shape
2 parents 548b667 + 96298c8 commit b0ba1ba

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

lib/src/qr_code_scanner.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,12 @@ class _QRViewState extends State<QRView> {
101101
return Stack(
102102
children: [
103103
_getPlatformQrView(),
104-
Container(
104+
Padding(
105105
padding: widget.overlayMargin,
106-
decoration: ShapeDecoration(
107-
shape: widget.overlay!,
106+
child: Container(
107+
decoration: ShapeDecoration(
108+
shape: widget.overlay!,
109+
),
108110
),
109111
)
110112
],

0 commit comments

Comments
 (0)