Browse Source
Merge pull request #449 from devasx666/update_pading_shape
fix: fixed padding in shape
flutter-beta
Julian Steenbakker
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
3 deletions
-
lib/src/qr_code_scanner.dart
|
|
@@ -101,10 +101,12 @@ class _QRViewState extends State<QRView> { |
|
|
return Stack( |
|
|
return Stack( |
|
|
children: [ |
|
|
children: [ |
|
|
_getPlatformQrView(), |
|
|
_getPlatformQrView(), |
|
|
Container( |
|
|
|
|
|
|
|
|
Padding( |
|
|
padding: widget.overlayMargin, |
|
|
padding: widget.overlayMargin, |
|
|
decoration: ShapeDecoration( |
|
|
|
|
|
shape: widget.overlay!, |
|
|
|
|
|
|
|
|
child: Container( |
|
|
|
|
|
decoration: ShapeDecoration( |
|
|
|
|
|
shape: widget.overlay!, |
|
|
|
|
|
), |
|
|
), |
|
|
), |
|
|
) |
|
|
) |
|
|
], |
|
|
], |
|
|
|