Skip to content

Commit b394a07

Browse files
committed
name and version change
1 parent 9f78af2 commit b394a07

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _MyHomePageState extends State<MyHomePage> {
6262
body: SafeArea(
6363
child: Center(
6464
child: Container(
65-
width: 300,
65+
width: 260,
6666
child: Column(
6767
mainAxisAlignment: MainAxisAlignment.center,
6868
children: [
@@ -80,8 +80,9 @@ class _MyHomePageState extends State<MyHomePage> {
8080
Padding(
8181
padding: const EdgeInsets.fromLTRB(0, 16, 0, 0),
8282
child: TextField(
83-
controller: convertText,
8483
autofocus: true,
84+
controller: convertText,
85+
textAlign: TextAlign.center,
8586
decoration: InputDecoration(
8687
border: OutlineInputBorder(),
8788
hintText: 'Type Here',
@@ -103,7 +104,6 @@ class _MyHomePageState extends State<MyHomePage> {
103104
primary: Colors.white,
104105
backgroundColor: Colors.blue,
105106
),
106-
autofocus: true,
107107
child: Text(
108108
"Generate",
109109
style: TextStyle(

pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ packages:
2121
name: async
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "2.6.1"
24+
version: "2.8.1"
2525
boolean_selector:
2626
dependency: transitive
2727
description:
@@ -42,7 +42,7 @@ packages:
4242
name: charcode
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.2.0"
45+
version: "1.3.1"
4646
clock:
4747
dependency: transitive
4848
description:
@@ -162,7 +162,7 @@ packages:
162162
name: meta
163163
url: "https://pub.dartlang.org"
164164
source: hosted
165-
version: "1.3.0"
165+
version: "1.7.0"
166166
path:
167167
dependency: transitive
168168
description:
@@ -251,7 +251,7 @@ packages:
251251
name: test_api
252252
url: "https://pub.dartlang.org"
253253
source: hosted
254-
version: "0.3.0"
254+
version: "0.4.2"
255255
typed_data:
256256
dependency: transitive
257257
description:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: qrcode_generator
1+
name: qrgen
22
description: A new Flutter project.
33

44
# The following line prevents the package from being accidentally published to
@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1515
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1616
# Read more about iOS versioning at
1717
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18-
version: 1.0.0+1
18+
version: 1.2.0+1
1919

2020
environment:
2121
sdk: ">=2.7.0 <3.0.0"

test/widget_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import 'package:flutter/material.dart';
99
import 'package:flutter_test/flutter_test.dart';
1010

11-
import 'package:qrcode_generator/main.dart';
11+
import 'package:qrgen/main.dart';
1212

1313
void main() {
1414
testWidgets('Counter increments smoke test', (WidgetTester tester) async {

0 commit comments

Comments
 (0)