|
|
|
@@ -11,7 +11,6 @@ class QRView extends StatefulWidget { |
|
|
|
@required Key key, |
|
|
|
@required this.onQRViewCreated, |
|
|
|
this.overlay, |
|
|
|
this.overlayMargin = EdgeInsets.zero, |
|
|
|
}) : assert(key != null), |
|
|
|
assert(onQRViewCreated != null), |
|
|
|
super(key: key); |
|
|
|
@@ -19,7 +18,6 @@ class QRView extends StatefulWidget { |
|
|
|
final QRViewCreatedCallback onQRViewCreated; |
|
|
|
|
|
|
|
final ShapeBorder overlay; |
|
|
|
final EdgeInsetsGeometry overlayMargin; |
|
|
|
|
|
|
|
@override |
|
|
|
State<StatefulWidget> createState() => _QRViewState(); |
|
|
|
@@ -33,7 +31,6 @@ class _QRViewState extends State<QRView> { |
|
|
|
_getPlatformQrView(), |
|
|
|
if (widget.overlay != null) |
|
|
|
Container( |
|
|
|
padding: widget.overlayMargin, |
|
|
|
decoration: ShapeDecoration( |
|
|
|
shape: widget.overlay, |
|
|
|
), |
|
|
|
|