Skip to content

Commit 9f78af2

Browse files
committed
More padding big scanner
1 parent 98f28b3 commit 9f78af2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,17 @@ class _MyHomePageState extends State<MyHomePage> {
7474
child: QrImage(
7575
data: generatedata,
7676
version: QrVersions.auto,
77-
size: 200.0,
77+
size: 240.0,
7878
),
7979
),
8080
Padding(
8181
padding: const EdgeInsets.fromLTRB(0, 16, 0, 0),
8282
child: TextField(
8383
controller: convertText,
84+
autofocus: true,
8485
decoration: InputDecoration(
8586
border: OutlineInputBorder(),
8687
hintText: 'Type Here',
87-
autofocus:true;
8888
),
8989
onSubmitted: (value) {
9090
setState(() {
@@ -96,6 +96,7 @@ class _MyHomePageState extends State<MyHomePage> {
9696
Padding(
9797
padding: const EdgeInsets.symmetric(
9898
vertical: 16,
99+
horizontal: 24,
99100
),
100101
child: TextButton(
101102
style: TextButton.styleFrom(

0 commit comments

Comments
 (0)