Skip to content

Commit 7321c7b

Browse files
committed
Update dart-patterns-and-records rebuild script
1 parent a639787 commit 7321c7b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dart-patterns-and-records/codelab_rebuild.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ steps:
664664
patch-u: |
665665
--- b/dart-patterns-and-records/step_12/lib/main.dart
666666
+++ a/dart-patterns-and-records/step_12/lib/main.dart
667-
@@ -75,16 +75,18 @@ class BlockWidget extends StatelessWidget {
667+
@@ -75,16 +75,21 @@ class BlockWidget extends StatelessWidget {
668668
669669
@override
670670
Widget build(BuildContext context) {
@@ -685,7 +685,10 @@ steps:
685685
+ ),
686686
+ ParagraphBlock(:final text) => Text(text),
687687
+ CheckboxBlock(:final text, :final isChecked) => Row(
688-
+ children: [Checkbox(value: isChecked, onChanged: (_) {}), Text(text)],
688+
+ children: [
689+
+ Checkbox(value: isChecked, onChanged: (_) {}),
690+
+ Text(text),
691+
+ ],
689692
+ ),
690693
+ },
691694
);

0 commit comments

Comments
 (0)