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
Navaron Bracke
2023-11-16 16:08:34 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9c01955c569534912cfd99a30eb3007d94881c56
9c01955c
1 parent
da838a75
remove obsolete sized box
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
example/lib/main.dart
example/lib/main.dart
View file @
9c01955
...
...
@@ -23,10 +23,7 @@ class MyHome extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
const
Text
(
'Mobile Scanner Example'
)),
body:
SizedBox
(
width:
MediaQuery
.
of
(
context
).
size
.
width
,
height:
MediaQuery
.
of
(
context
).
size
.
height
,
child:
Column
(
body:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
[
ElevatedButton
(
...
...
@@ -67,8 +64,7 @@ class MyHome extends StatelessWidget {
),
);
},
child:
const
Text
(
'MobileScanner with Controller (returning image)'
),
child:
const
Text
(
'MobileScanner with Controller (returning image)'
),
),
ElevatedButton
(
onPressed:
()
{
...
...
@@ -102,7 +98,6 @@ class MyHome extends StatelessWidget {
),
],
),
),
);
}
}
...
...
Please
register
or
login
to post a comment