Sfoglia il codice sorgente

fix: fixed padding in shape

flutter-beta
Stepan Bezhuk 4 anni fa
parent
commit
96298c83ba
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. +5
    -3
      lib/src/qr_code_scanner.dart

+ 5
- 3
lib/src/qr_code_scanner.dart Vedi File

@@ -101,10 +101,12 @@ class _QRViewState extends State<QRView> {
return Stack(
children: [
_getPlatformQrView(),
Container(
Padding(
padding: widget.overlayMargin,
decoration: ShapeDecoration(
shape: widget.overlay!,
child: Container(
decoration: ShapeDecoration(
shape: widget.overlay!,
),
),
)
],


Caricamento…
Annulla
Salva