Skip to content

Commit 80c3816

Browse files
committed
Update github-client
1 parent a73017a commit 80c3816

File tree

25 files changed

+202
-205
lines changed

25 files changed

+202
-205
lines changed

github-client/codelab_rebuild.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ steps:
799799
import 'github_oauth_credentials.dart';
800800
import 'src/github_login.dart';
801801
802-
@@ -45,16 +47,23 @@ class MyHomePage extends StatelessWidget {
802+
@@ -44,16 +46,23 @@ class MyHomePage extends StatelessWidget {
803803
Widget build(BuildContext context) {
804804
return GithubLoginWidget(
805805
builder: (context, httpClient) {
@@ -833,7 +833,7 @@ steps:
833833
);
834834
},
835835
githubClientId: githubClientId,
836-
@@ -63,3 +72,8 @@ class MyHomePage extends StatelessWidget {
836+
@@ -62,3 +71,8 @@ class MyHomePage extends StatelessWidget {
837837
);
838838
}
839839
}
@@ -866,7 +866,7 @@ steps:
866866
867867
import 'github_oauth_credentials.dart';
868868
import 'src/github_login.dart';
869-
@@ -47,6 +48,7 @@ class MyHomePage extends StatelessWidget {
869+
@@ -46,6 +47,7 @@ class MyHomePage extends StatelessWidget {
870870
Widget build(BuildContext context) {
871871
return GithubLoginWidget(
872872
builder: (context, httpClient) {
@@ -1161,7 +1161,7 @@ steps:
11611161
11621162
void main() {
11631163
runApp(const MyApp());
1164-
@@ -49,23 +50,14 @@ class MyHomePage extends StatelessWidget {
1164+
@@ -48,23 +49,14 @@ class MyHomePage extends StatelessWidget {
11651165
return GithubLoginWidget(
11661166
builder: (context, httpClient) {
11671167
WindowToFront.activate();
@@ -1193,7 +1193,7 @@ steps:
11931193
);
11941194
},
11951195
githubClientId: githubClientId,
1196-
@@ -75,7 +67,6 @@ class MyHomePage extends StatelessWidget {
1196+
@@ -74,7 +66,6 @@ class MyHomePage extends StatelessWidget {
11971197
}
11981198
}
11991199

github-client/step_03/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class MyApp extends StatelessWidget {
4343
// This works for code too, not just values: Most code changes can be
4444
// tested with just a hot reload.
4545
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
46-
46+
useMaterial3: true,
4747
),
4848
home: const MyHomePage(title: 'Flutter Demo Home Page'),
4949
);

github-client/step_03/macos/Runner/Configs/AppInfo.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ PRODUCT_NAME = github_client
1111
PRODUCT_BUNDLE_IDENTIFIER = com.example.githubClient
1212

1313
// The copyright displayed in application information
14-
PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved.
14+
PRODUCT_COPYRIGHT = Copyright © 2025 com.example. All rights reserved.

github-client/step_03/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1919
version: 1.0.0+1
2020

2121
environment:
22-
sdk: ^3.6.1
22+
sdk: ^3.6.2
2323

2424
# Dependencies specify other packages that your package needs in order to work.
2525
# To automatically upgrade your package dependencies to the latest versions

github-client/step_03/windows/runner/Runner.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ BEGIN
9393
VALUE "FileDescription", "github_client" "\0"
9494
VALUE "FileVersion", VERSION_AS_STRING "\0"
9595
VALUE "InternalName", "github_client" "\0"
96-
VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0"
96+
VALUE "LegalCopyright", "Copyright (C) 2025 com.example. All rights reserved." "\0"
9797
VALUE "OriginalFilename", "github_client.exe" "\0"
9898
VALUE "ProductName", "github_client" "\0"
9999
VALUE "ProductVersion", VERSION_AS_STRING "\0"

github-client/step_04/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class MyApp extends StatelessWidget {
3030
theme: ThemeData(
3131
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
3232
visualDensity: VisualDensity.adaptivePlatformDensity,
33-
3433
),
3534
home: const MyHomePage(title: 'GitHub Client'),
3635
);

github-client/step_04/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 44 additions & 44 deletions
Large diffs are not rendered by default.

github-client/step_04/macos/Runner/Configs/AppInfo.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ PRODUCT_NAME = github_client
1111
PRODUCT_BUNDLE_IDENTIFIER = com.example.githubClient
1212

1313
// The copyright displayed in application information
14-
PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved.
14+
PRODUCT_COPYRIGHT = Copyright © 2025 com.example. All rights reserved.

github-client/step_04/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1919
version: 1.0.0+1
2020

2121
environment:
22-
sdk: ^3.6.1
22+
sdk: ^3.6.2
2323

2424
# Dependencies specify other packages that your package needs in order to work.
2525
# To automatically upgrade your package dependencies to the latest versions
@@ -34,7 +34,7 @@ dependencies:
3434
# The following adds the Cupertino Icons font to your application.
3535
# Use with the CupertinoIcons class for iOS style icons.
3636
cupertino_icons: ^1.0.8
37-
http: ^1.2.2
37+
http: ^1.3.0
3838
oauth2: ^2.0.3
3939
url_launcher: ^6.3.1
4040

github-client/step_04/windows/runner/Runner.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ BEGIN
9393
VALUE "FileDescription", "github_client" "\0"
9494
VALUE "FileVersion", VERSION_AS_STRING "\0"
9595
VALUE "InternalName", "github_client" "\0"
96-
VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0"
96+
VALUE "LegalCopyright", "Copyright (C) 2025 com.example. All rights reserved." "\0"
9797
VALUE "OriginalFilename", "github_client.exe" "\0"
9898
VALUE "ProductName", "github_client" "\0"
9999
VALUE "ProductVersion", VERSION_AS_STRING "\0"

0 commit comments

Comments
 (0)