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
Julian Steenbakker
2025-04-17 23:37:08 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
40e3ee6b0195395df22a1479bf43c59585d4a0c6
40e3ee6b
1 parent
5276188e
imp: remove redundant comment
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
lib/src/mobile_scanner.dart
lib/src/mobile_scanner.dart
View file @
40e3ee6
...
...
@@ -200,7 +200,6 @@ class _MobileScannerState extends State<MobileScanner>
return
ValueListenableBuilder
<
MobileScannerState
>(
valueListenable:
controller
,
builder:
(
BuildContext
context
,
MobileScannerState
value
,
Widget
?
child
)
{
// If the controller is still initializing, show a black screen, or user provided placeholder
if
(!
value
.
isInitialized
)
{
const
Widget
defaultPlaceholder
=
ColoredBox
(
color:
Colors
.
black
);
...
...
@@ -209,7 +208,6 @@ class _MobileScannerState extends State<MobileScanner>
}
final
MobileScannerException
?
error
=
value
.
error
;
// If the controller encountered, show an error screen, or user provided placeholder
if
(
error
!=
null
)
{
final
Widget
defaultError
=
ScannerErrorWidget
(
error:
error
);
...
...
Please
register
or
login
to post a comment