Showing
2 changed files
with
2 additions
and
4 deletions
| @@ -14,8 +14,7 @@ class BarcodeScannerWithController extends StatefulWidget { | @@ -14,8 +14,7 @@ class BarcodeScannerWithController extends StatefulWidget { | ||
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | class _BarcodeScannerWithControllerState | 16 | class _BarcodeScannerWithControllerState |
| 17 | - extends State<BarcodeScannerWithController> | ||
| 18 | - with SingleTickerProviderStateMixin { | 17 | + extends State<BarcodeScannerWithController> { |
| 19 | BarcodeCapture? barcode; | 18 | BarcodeCapture? barcode; |
| 20 | 19 | ||
| 21 | final MobileScannerController controller = MobileScannerController( | 20 | final MobileScannerController controller = MobileScannerController( |
| @@ -13,8 +13,7 @@ class BarcodeScannerWithZoom extends StatefulWidget { | @@ -13,8 +13,7 @@ class BarcodeScannerWithZoom extends StatefulWidget { | ||
| 13 | State<BarcodeScannerWithZoom> createState() => _BarcodeScannerWithZoomState(); | 13 | State<BarcodeScannerWithZoom> createState() => _BarcodeScannerWithZoomState(); |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | -class _BarcodeScannerWithZoomState extends State<BarcodeScannerWithZoom> | ||
| 17 | - with SingleTickerProviderStateMixin { | 16 | +class _BarcodeScannerWithZoomState extends State<BarcodeScannerWithZoom> { |
| 18 | BarcodeCapture? barcode; | 17 | BarcodeCapture? barcode; |
| 19 | 18 | ||
| 20 | final MobileScannerController controller = MobileScannerController( | 19 | final MobileScannerController controller = MobileScannerController( |
-
Please register or login to post a comment