Showing
1 changed file
with
1 additions
and
5 deletions
| @@ -91,9 +91,7 @@ class _BarcodeScannerWithZoomState extends State<BarcodeScannerWithZoom> | @@ -91,9 +91,7 @@ class _BarcodeScannerWithZoomState extends State<BarcodeScannerWithZoom> | ||
| 91 | return Scaffold( | 91 | return Scaffold( |
| 92 | appBar: AppBar(title: const Text('With zoom slider')), | 92 | appBar: AppBar(title: const Text('With zoom slider')), |
| 93 | backgroundColor: Colors.black, | 93 | backgroundColor: Colors.black, |
| 94 | - body: Builder( | ||
| 95 | - builder: (context) { | ||
| 96 | - return Stack( | 94 | + body: Stack( |
| 97 | children: [ | 95 | children: [ |
| 98 | MobileScanner( | 96 | MobileScanner( |
| 99 | controller: controller, | 97 | controller: controller, |
| @@ -142,8 +140,6 @@ class _BarcodeScannerWithZoomState extends State<BarcodeScannerWithZoom> | @@ -142,8 +140,6 @@ class _BarcodeScannerWithZoomState extends State<BarcodeScannerWithZoom> | ||
| 142 | ), | 140 | ), |
| 143 | ), | 141 | ), |
| 144 | ], | 142 | ], |
| 145 | - ); | ||
| 146 | - }, | ||
| 147 | ), | 143 | ), |
| 148 | ); | 144 | ); |
| 149 | } | 145 | } |
-
Please register or login to post a comment