Skip to content

Commit 2247b8e

Browse files
Boring to beautiful codelab update (#2324)
Waiting on an LGTM on cl/768229931 ## Pre-launch Checklist - [x] I read the [Effective Dart: Style] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Effective Dart: Style]: https://dart.dev/guides/language/effective-dart/style [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
1 parent 53c7b04 commit 2247b8e

File tree

706 files changed

+11529
-986
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

706 files changed

+11529
-986
lines changed

boring_to_beautiful/codelab_rebuild.yaml

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

boring_to_beautiful/final/lib/src/shared/views/outlined_card.dart

Lines changed: 0 additions & 70 deletions
This file was deleted.

boring_to_beautiful/step_01/ios/Runner.xcodeproj/project.pbxproj

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

boring_to_beautiful/step_01/macos/Runner.xcodeproj/project.pbxproj

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

boring_to_beautiful/step_01/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<true/>
77
<key>com.apple.security.cs.allow-jit</key>
88
<true/>
9-
<key>com.apple.security.network.client</key>
10-
<true/>
119
<key>com.apple.security.network.server</key>
1210
<true/>
11+
<key>com.apple.security.network.client</key>
12+
<true/>
1313
</dict>
1414
</plist>

boring_to_beautiful/step_01/macos/Runner/Release.entitlements

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
<true/>
77
<key>com.apple.security.network.client</key>
88
<true/>
9-
<key>com.apple.security.network.server</key>
10-
<true/>
119
</dict>
1210
</plist>

boring_to_beautiful/step_01/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
english_words: ^4.0.0
1818
flutter_bloc: ^9.1.1
1919
freezed_annotation: ^3.0.0
20-
go_router: ^15.1.2
20+
go_router: ^15.1.3
2121
material_color_utilities: any
2222
universal_platform: ^1.1.0
2323
url_launcher: ^6.3.1

boring_to_beautiful/step_02/ios/Runner.xcodeproj/project.pbxproj

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

boring_to_beautiful/step_02/lib/src/shared/extensions.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
// found in the LICENSE file.
44

55
import 'package:flutter/material.dart';
6+
import 'package:google_fonts/google_fonts.dart';
67

78
extension TypographyUtils on BuildContext {
89
ThemeData get theme => Theme.of(this);
9-
TextTheme get textTheme => theme.textTheme;
10+
TextTheme get textTheme => GoogleFonts.montserratTextTheme(theme.textTheme);
1011
ColorScheme get colors => theme.colorScheme;
1112
TextStyle? get displayLarge =>
1213
textTheme.displayLarge?.copyWith(color: colors.onSurface);

boring_to_beautiful/step_02/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ import Foundation
77

88
import desktop_window
99
import dynamic_color
10+
import path_provider_foundation
1011
import url_launcher_macos
1112

1213
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
1314
DesktopWindowPlugin.register(with: registry.registrar(forPlugin: "DesktopWindowPlugin"))
1415
DynamicColorPlugin.register(with: registry.registrar(forPlugin: "DynamicColorPlugin"))
16+
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
1517
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
1618
}

0 commit comments

Comments
 (0)