We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc45907 commit 1978616Copy full SHA for 1978616
lib/components/scanner_settings.dart
@@ -26,7 +26,7 @@ class ScannerSettings extends StatelessWidget {
26
IconButton(
27
onPressed: () => scanController.toggleTorch(),
28
icon: Icon(
29
- scanController.value.torchState == TorchState.on
+ scanController.value.torchState == TorchState.off
30
? Icons.flash_off
31
: Icons.flash_on,
32
color: iconColor,
0 commit comments