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 08:01:02 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aaa3cf11df176df44404845befe8f2c61e3d9586
aaa3cf11
1 parent
efa6f17f
Wrap icon in Center widget
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
example/lib/scanner_button_widgets.dart
example/lib/scanner_button_widgets.dart
View file @
aaa3cf1
...
...
@@ -168,12 +168,15 @@ class ToggleFlashlightButton extends StatelessWidget {
);
case
TorchState
.
unavailable
:
return
const
SizedBox
(
width:
48.0
,
width:
48.0
,
child:
Center
(
child:
Icon
(
Icons
.
no_flash
,
size:
32.0
,
color:
Colors
.
grey
,
));
),
),
);
}
},
);
...
...
Please
register
or
login
to post a comment