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-20 11:34:34 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
efa6f17f4a37f2804b3a1ca5e8b5e2dfd7296fa8
efa6f17f
1 parent
c3271f0c
Clean up example button widgets
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
example/lib/scanner_button_widgets.dart
example/lib/scanner_button_widgets.dart
View file @
efa6f17
...
...
@@ -112,6 +112,7 @@ class SwitchCameraButton extends StatelessWidget {
}
return
IconButton
(
color:
Colors
.
white
,
iconSize:
32.0
,
icon:
icon
,
onPressed:
()
async
{
...
...
@@ -166,10 +167,13 @@ class ToggleFlashlightButton extends StatelessWidget {
},
);
case
TorchState
.
unavailable
:
return
const
Icon
(
return
const
SizedBox
(
width:
48.0
,
child:
Icon
(
Icons
.
no_flash
,
size:
32.0
,
color:
Colors
.
grey
,
);
)
);
}
},
);
...
...
Please
register
or
login
to post a comment