Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ian VanSchooten
2024-09-23 10:30:32 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0fd1768d64c87cb0055fdaf923157e542b0b7a28
0fd1768d
1 parent
58dfefe6
Constrain torch unavailable example icon
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
example/lib/scanner_button_widgets.dart
example/lib/scanner_button_widgets.dart
View file @
0fd1768
...
...
@@ -167,14 +167,12 @@ class ToggleFlashlightButton extends StatelessWidget {
},
);
case
TorchState
.
unavailable
:
return
const
SizedBox
(
width:
48.0
,
child:
Center
(
child:
Icon
(
Icons
.
no_flash
,
size:
32.0
,
color:
Colors
.
grey
,
),
return
const
SizedBox
.
square
(
dimension:
48.0
,
child:
Icon
(
Icons
.
no_flash
,
size:
32.0
,
color:
Colors
.
grey
,
),
);
}
...
...
Please
register
or
login
to post a comment