Skip to content

Commit e3e05b7

Browse files
author
PeterHdd
committed
chore: update source code
1 parent b58bf4a commit e3e05b7

File tree

14 files changed

+64
-85
lines changed

14 files changed

+64
-85
lines changed

firebase_facebook_auth_tutorial/lib/screens/home_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class _HomePageState extends State<HomePage> {
3636
},
3737
)
3838
],
39-
backwardsCompatibility: false,
4039
systemOverlayStyle: SystemUiOverlayStyle(statusBarColor: Colors.blue),
4140
title: Text("Home"),
4241
),

firebase_google_sign_in_tutorial/lib/main.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import 'package:firebase_core/firebase_core.dart';
22
import 'package:flutter/material.dart';
3-
import 'package:flutter/services.dart';
4-
53
import 'navigation/navigate.dart';
64
import 'utils/constants.dart';
75

firebase_google_sign_in_tutorial/lib/screens/home_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class _HomePageState extends State<HomePage> {
3636
},
3737
)
3838
],
39-
backwardsCompatibility: false,
4039
systemOverlayStyle: SystemUiOverlayStyle(statusBarColor: Colors.blue),
4140
title: Text("Home"),
4241
),

firebase_google_sign_in_tutorial/pubspec.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.8.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -28,7 +28,7 @@ packages:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0"
31+
version: "1.3.1"
3232
clock:
3333
dependency: transitive
3434
description:
@@ -63,28 +63,28 @@ packages:
6363
name: firebase_auth
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "1.2.0"
66+
version: "3.1.4"
6767
firebase_auth_platform_interface:
6868
dependency: transitive
6969
description:
7070
name: firebase_auth_platform_interface
7171
url: "https://pub.dartlang.org"
7272
source: hosted
73-
version: "4.2.3"
73+
version: "6.1.2"
7474
firebase_auth_web:
7575
dependency: transitive
7676
description:
7777
name: firebase_auth_web
7878
url: "https://pub.dartlang.org"
7979
source: hosted
80-
version: "1.1.3"
80+
version: "3.1.3"
8181
firebase_core:
8282
dependency: "direct main"
8383
description:
8484
name: firebase_core
8585
url: "https://pub.dartlang.org"
8686
source: hosted
87-
version: "1.2.0"
87+
version: "1.8.0"
8888
firebase_core_platform_interface:
8989
dependency: transitive
9090
description:
@@ -120,21 +120,21 @@ packages:
120120
name: font_awesome_flutter
121121
url: "https://pub.dartlang.org"
122122
source: hosted
123-
version: "9.0.0"
123+
version: "9.2.0"
124124
google_sign_in:
125125
dependency: "direct main"
126126
description:
127127
name: google_sign_in
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "5.0.3"
130+
version: "5.2.0"
131131
google_sign_in_platform_interface:
132132
dependency: transitive
133133
description:
134134
name: google_sign_in_platform_interface
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "2.0.1"
137+
version: "2.1.0"
138138
google_sign_in_web:
139139
dependency: transitive
140140
description:
@@ -176,7 +176,7 @@ packages:
176176
name: meta
177177
url: "https://pub.dartlang.org"
178178
source: hosted
179-
version: "1.3.0"
179+
version: "1.7.0"
180180
path:
181181
dependency: transitive
182182
description:
@@ -209,7 +209,7 @@ packages:
209209
name: source_span
210210
url: "https://pub.dartlang.org"
211211
source: hosted
212-
version: "1.8.0"
212+
version: "1.8.1"
213213
stack_trace:
214214
dependency: transitive
215215
description:
@@ -244,7 +244,7 @@ packages:
244244
name: test_api
245245
url: "https://pub.dartlang.org"
246246
source: hosted
247-
version: "0.2.19"
247+
version: "0.4.2"
248248
typed_data:
249249
dependency: transitive
250250
description:
@@ -260,5 +260,5 @@ packages:
260260
source: hosted
261261
version: "2.1.0"
262262
sdks:
263-
dart: ">=2.12.0 <3.0.0"
264-
flutter: ">=1.20.0"
263+
dart: ">=2.14.0 <3.0.0"
264+
flutter: ">=2.5.0"

firebase_google_sign_in_tutorial/pubspec.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A new Flutter project.
33

44
# The following line prevents the package from being accidentally published to
55
# pub.dev using `pub publish`. This is preferred for private packages.
6-
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
6+
publish_to: "none" # Remove this line if you wish to publish to pub.dev
77

88
# The following defines the version and build number for your application.
99
# A version number is three numbers separated by dots, like 1.2.43
@@ -18,16 +18,16 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1818
version: 1.0.0+1
1919

2020
environment:
21-
sdk: '>=2.12.0 <3.0.0'
21+
sdk: ">=2.12.0 <3.0.0"
2222

2323
dependencies:
24+
cupertino_icons: ^1.0.2
25+
firebase_auth: ^3.1.4
26+
firebase_core: ^1.8.0
2427
flutter:
2528
sdk: flutter
26-
cupertino_icons: ^1.0.2
27-
firebase_auth: ^1.2.0
28-
firebase_core: ^1.2.0
29-
font_awesome_flutter: ^9.0.0
30-
google_sign_in: ^5.0.3
29+
font_awesome_flutter: ^9.2.0
30+
google_sign_in: ^5.2.0
3131

3232
dev_dependencies:
3333
flutter_test:
@@ -37,7 +37,6 @@ dev_dependencies:
3737
# following page: https://dart.dev/tools/pub/pubspec
3838
# The following section is specific to Flutter.
3939
flutter:
40-
4140
# The following line ensures that the Material Icons font is
4241
# included with your application, so that you can use the icons in
4342
# the material Icons class.

firebase_messaging_tutorial/pubspec.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.8.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -28,7 +28,7 @@ packages:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0"
31+
version: "1.3.1"
3232
clock:
3333
dependency: transitive
3434
description:
@@ -70,63 +70,63 @@ packages:
7070
name: firebase_analytics
7171
url: "https://pub.dartlang.org"
7272
source: hosted
73-
version: "8.0.2"
73+
version: "8.3.4"
7474
firebase_analytics_platform_interface:
7575
dependency: transitive
7676
description:
7777
name: firebase_analytics_platform_interface
7878
url: "https://pub.dartlang.org"
7979
source: hosted
80-
version: "2.0.0"
80+
version: "2.0.1"
8181
firebase_analytics_web:
8282
dependency: transitive
8383
description:
8484
name: firebase_analytics_web
8585
url: "https://pub.dartlang.org"
8686
source: hosted
87-
version: "0.3.0"
87+
version: "0.3.0+1"
8888
firebase_core:
8989
dependency: "direct main"
9090
description:
9191
name: firebase_core
9292
url: "https://pub.dartlang.org"
9393
source: hosted
94-
version: "1.1.0"
94+
version: "1.8.0"
9595
firebase_core_platform_interface:
9696
dependency: transitive
9797
description:
9898
name: firebase_core_platform_interface
9999
url: "https://pub.dartlang.org"
100100
source: hosted
101-
version: "4.0.0"
101+
version: "4.0.1"
102102
firebase_core_web:
103103
dependency: transitive
104104
description:
105105
name: firebase_core_web
106106
url: "https://pub.dartlang.org"
107107
source: hosted
108-
version: "1.0.2"
108+
version: "1.1.0"
109109
firebase_messaging:
110110
dependency: "direct main"
111111
description:
112112
name: firebase_messaging
113113
url: "https://pub.dartlang.org"
114114
source: hosted
115-
version: "9.1.3"
115+
version: "10.0.9"
116116
firebase_messaging_platform_interface:
117117
dependency: transitive
118118
description:
119119
name: firebase_messaging_platform_interface
120120
url: "https://pub.dartlang.org"
121121
source: hosted
122-
version: "2.1.3"
122+
version: "3.0.7"
123123
firebase_messaging_web:
124124
dependency: transitive
125125
description:
126126
name: firebase_messaging_web
127127
url: "https://pub.dartlang.org"
128128
source: hosted
129-
version: "1.0.6"
129+
version: "2.0.7"
130130
flutter:
131131
dependency: "direct main"
132132
description: flutter
@@ -176,7 +176,7 @@ packages:
176176
name: meta
177177
url: "https://pub.dartlang.org"
178178
source: hosted
179-
version: "1.3.0"
179+
version: "1.7.0"
180180
path:
181181
dependency: transitive
182182
description:
@@ -209,7 +209,7 @@ packages:
209209
name: source_span
210210
url: "https://pub.dartlang.org"
211211
source: hosted
212-
version: "1.8.0"
212+
version: "1.8.1"
213213
stack_trace:
214214
dependency: transitive
215215
description:
@@ -244,7 +244,7 @@ packages:
244244
name: test_api
245245
url: "https://pub.dartlang.org"
246246
source: hosted
247-
version: "0.2.19"
247+
version: "0.4.2"
248248
typed_data:
249249
dependency: transitive
250250
description:

firebase_messaging_tutorial/pubspec.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A new Flutter project.
33

44
# The following line prevents the package from being accidentally published to
55
# pub.dev using `pub publish`. This is preferred for private packages.
6-
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
6+
publish_to: "none" # Remove this line if you wish to publish to pub.dev
77

88
# The following defines the version and build number for your application.
99
# A version number is three numbers separated by dots, like 1.2.43
@@ -18,15 +18,15 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1818
version: 1.0.0+1
1919

2020
environment:
21-
sdk: '>=2.12.0 <3.0.0'
21+
sdk: ">=2.12.0 <3.0.0"
2222

2323
dependencies:
24+
cupertino_icons: ^1.0.2
25+
firebase_analytics: ^8.3.4
26+
firebase_core: ^1.8.0
27+
firebase_messaging: ^10.0.9
2428
flutter:
2529
sdk: flutter
26-
cupertino_icons: ^1.0.2
27-
firebase_analytics: ^8.0.2
28-
firebase_core: ^1.1.0
29-
firebase_messaging: ^9.1.3
3030

3131
dev_dependencies:
3232
flutter_test:
@@ -36,7 +36,6 @@ dev_dependencies:
3636
# following page: https://dart.dev/tools/pub/pubspec
3737
# The following section is specific to Flutter.
3838
flutter:
39-
4039
# The following line ensures that the Material Icons font is
4140
# included with your application, so that you can use the icons in
4241
# the material Icons class.

firebase_phone_auth_tutorial/lib/components/phone_auth_form.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class _PhoneAuthFormState extends State<PhoneAuthForm> {
2929
Size size = MediaQuery.of(context).size;
3030
return Scaffold(
3131
appBar: AppBar(title: Text("Verify OTP"),
32-
backwardsCompatibility: false,
3332
systemOverlayStyle: SystemUiOverlayStyle(statusBarColor: Colors.blue),),
3433
backgroundColor: Constants.kPrimaryColor,
3534
body: Center(

firebase_phone_auth_tutorial/lib/screens/home_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class _HomePageState extends State<HomePage> {
3636
},
3737
)
3838
],
39-
backwardsCompatibility: false,
4039
systemOverlayStyle: SystemUiOverlayStyle(statusBarColor: Colors.blue),
4140
title: Text("Home"),
4241
),

firebase_phone_auth_tutorial/lib/screens/sign_in_page.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import 'package:firebase_phone_auth_tutorial/components/phone_auth_form.dart';
21
import 'package:firebase_phone_auth_tutorial/components/sign_in_button.dart';
32
import 'package:firebase_phone_auth_tutorial/utils/constants.dart';
43
import 'package:firebase_phone_auth_tutorial/utils/resource.dart';
@@ -9,8 +8,6 @@ class SignInPage extends StatelessWidget {
98
@override
109
Widget build(BuildContext context) {
1110
Size size = MediaQuery.of(context).size;
12-
OutlineInputBorder border = OutlineInputBorder(
13-
borderSide: BorderSide(color: Constants.kBorderColor, width: 3.0));
1411
return Scaffold(
1512
resizeToAvoidBottomInset: true,
1613
backgroundColor: Constants.kPrimaryColor,

0 commit comments

Comments
 (0)