Skip to content

Commit 8847ad0

Browse files
See dart-lang/sdk#60784 for details ## 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 7213d22 commit 8847ad0

File tree

7 files changed

+33
-1
lines changed

7 files changed

+33
-1
lines changed

colorist/codelab_rebuild.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,20 @@ steps:
123123
- name: Add Firebase AI Logic dependencies
124124
path: colorist
125125
flutter: pub add firebase_core firebase_ai
126+
- name: Workaround https://github.com/dart-lang/sdk/issues/60784
127+
path: colorist/pubspec.yaml
128+
patch-u: |
129+
--- b/colorist/step_02/pubspec.yaml
130+
+++ a/colorist/step_02/pubspec.yaml
131+
@@ -25,5 +25,8 @@ dev_dependencies:
132+
json_serializable: ^6.9.5
133+
custom_lint: ^0.7.5
134+
135+
+dependency_overrides:
136+
+ custom_lint_visitor: 1.0.0+7.3.0
137+
+
138+
flutter:
139+
uses-material-design: true
126140
- name: Add lib/firebase_options.dart
127141
path: colorist/lib/firebase_options.dart
128142
replace-contents: |
@@ -454,7 +468,7 @@ steps:
454468
patch-u: |
455469
--- b/colorist/step_03/pubspec.yaml
456470
+++ a/colorist/step_03/pubspec.yaml
457-
@@ -27,3 +27,6 @@ dev_dependencies:
471+
@@ -30,3 +30,6 @@ dependency_overrides:
458472
459473
flutter:
460474
uses-material-design: true

colorist/step_02/pubspec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ dev_dependencies:
2525
json_serializable: ^6.9.5
2626
custom_lint: ^0.7.5
2727

28+
dependency_overrides:
29+
custom_lint_visitor: 1.0.0+7.3.0
30+
2831
flutter:
2932
uses-material-design: true

colorist/step_03/pubspec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dev_dependencies:
2525
json_serializable: ^6.9.5
2626
custom_lint: ^0.7.5
2727

28+
dependency_overrides:
29+
custom_lint_visitor: 1.0.0+7.3.0
30+
2831
flutter:
2932
uses-material-design: true
3033

colorist/step_04/pubspec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dev_dependencies:
2525
json_serializable: ^6.9.5
2626
custom_lint: ^0.7.5
2727

28+
dependency_overrides:
29+
custom_lint_visitor: 1.0.0+7.3.0
30+
2831
flutter:
2932
uses-material-design: true
3033

colorist/step_05/pubspec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dev_dependencies:
2525
json_serializable: ^6.9.5
2626
custom_lint: ^0.7.5
2727

28+
dependency_overrides:
29+
custom_lint_visitor: 1.0.0+7.3.0
30+
2831
flutter:
2932
uses-material-design: true
3033

colorist/step_06/pubspec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dev_dependencies:
2525
json_serializable: ^6.9.5
2626
custom_lint: ^0.7.5
2727

28+
dependency_overrides:
29+
custom_lint_visitor: 1.0.0+7.3.0
30+
2831
flutter:
2932
uses-material-design: true
3033

colorist/step_07/pubspec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dev_dependencies:
2525
json_serializable: ^6.9.5
2626
custom_lint: ^0.7.5
2727

28+
dependency_overrides:
29+
custom_lint_visitor: 1.0.0+7.3.0
30+
2831
flutter:
2932
uses-material-design: true
3033

0 commit comments

Comments
 (0)