Committed by
GitHub
Merge branch 'master' into dependabot/github_actions/actions/checkout-3.6.0
Showing
3 changed files
with
5 additions
and
5 deletions
| @@ -272,7 +272,7 @@ class _MobileScannerState extends State<MobileScanner> | @@ -272,7 +272,7 @@ class _MobileScannerState extends State<MobileScanner> | ||
| 272 | alignment: Alignment.center, | 272 | alignment: Alignment.center, |
| 273 | children: [ | 273 | children: [ |
| 274 | _scanner(value.size, value.webId, value.textureId), | 274 | _scanner(value.size, value.webId, value.textureId), |
| 275 | - widget.overlay! | 275 | + widget.overlay!, |
| 276 | ], | 276 | ], |
| 277 | ); | 277 | ); |
| 278 | } else { | 278 | } else { |
| @@ -384,7 +384,7 @@ class MobileScannerController { | @@ -384,7 +384,7 @@ class MobileScannerController { | ||
| 384 | barcodes: [ | 384 | barcodes: [ |
| 385 | Barcode( | 385 | Barcode( |
| 386 | rawValue: (data as Map)['payload'] as String?, | 386 | rawValue: (data as Map)['payload'] as String?, |
| 387 | - ) | 387 | + ), |
| 388 | ], | 388 | ], |
| 389 | ), | 389 | ), |
| 390 | ); | 390 | ); |
| @@ -80,7 +80,7 @@ mixin InternalStreamCreation on WebBarcodeReaderBase { | @@ -80,7 +80,7 @@ mixin InternalStreamCreation on WebBarcodeReaderBase { | ||
| 80 | 'video': VideoOptions( | 80 | 'video': VideoOptions( |
| 81 | facingMode: | 81 | facingMode: |
| 82 | cameraFacing == CameraFacing.front ? 'user' : 'environment', | 82 | cameraFacing == CameraFacing.front ? 'user' : 'environment', |
| 83 | - ) | 83 | + ), |
| 84 | }; | 84 | }; |
| 85 | } else { | 85 | } else { |
| 86 | constraints = {'video': true}; | 86 | constraints = {'video': true}; |
| @@ -147,8 +147,8 @@ mixin InternalTorchDetection on InternalStreamCreation { | @@ -147,8 +147,8 @@ mixin InternalTorchDetection on InternalStreamCreation { | ||
| 147 | final track = localMediaStream?.getVideoTracks(); | 147 | final track = localMediaStream?.getVideoTracks(); |
| 148 | await track?.first.applyConstraints({ | 148 | await track?.first.applyConstraints({ |
| 149 | 'advanced': [ | 149 | 'advanced': [ |
| 150 | - {'torch': enabled} | ||
| 151 | - ] | 150 | + {'torch': enabled}, |
| 151 | + ], | ||
| 152 | }); | 152 | }); |
| 153 | } | 153 | } |
| 154 | } | 154 | } |
-
Please register or login to post a comment