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
2022-10-31 22:46:36 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7fb8043b8c1e8f0d9452b393f434b255d8552ed7
7fb8043b
1 parent
e00430cb
style: dart fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
example/lib/barcode_scanner_returning_image.dart
pubspec.yaml
example/lib/barcode_scanner_returning_image.dart
View file @
7fb8043
...
...
@@ -47,9 +47,9 @@ class _BarcodeScannerReturningImageState
fit:
BoxFit
.
contain
,
),
)
:
Container
(
:
const
ColoredBox
(
color:
Colors
.
white
,
child:
const
Center
(
child:
Center
(
child:
Text
(
'Your scanned barcode will appear here!'
,
),
...
...
@@ -85,7 +85,7 @@ class _BarcodeScannerReturningImageState
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
Co
ntainer
(
Co
loredBox
(
color:
arguments
!=
null
&&
!
arguments
!.
hasTorch
?
Colors
.
red
:
Colors
.
white
,
...
...
pubspec.yaml
View file @
7fb8043
...
...
@@ -12,13 +12,12 @@ dependencies:
sdk
:
flutter
flutter_web_plugins
:
sdk
:
flutter
json_serializable
:
^6.3.1
js
:
^0.6.3
dev_dependencies
:
build_runner
:
^2.2.0
flutter_test
:
sdk
:
flutter
json_annotation
:
^4.6.0
lint
:
^1.10.0
flutter
:
...
...
Please
register
or
login
to post a comment