File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -289,8 +289,8 @@ class ExampleState extends State<Example> {
289
289
290
290
``` dart
291
291
class ExampleState extends State<Example> {
292
- ConstraintId left = ConstraintId();
293
- ConstraintId right = ConstraintId();
292
+ ConstraintId topChild = ConstraintId();
293
+ ConstraintId bottomChild = ConstraintId();
294
294
ConstraintId guideline = ConstraintId();
295
295
296
296
@override
@@ -302,7 +302,7 @@ class ExampleState extends State<Example> {
302
302
Container(
303
303
color: const Color(0xFF005BBB),
304
304
).applyConstraint(
305
- id: left ,
305
+ id: topChild ,
306
306
width: matchParent,
307
307
height: matchConstraint,
308
308
top: parent.top,
@@ -316,7 +316,7 @@ class ExampleState extends State<Example> {
316
316
Container(
317
317
color: const Color(0xFFFFD500),
318
318
).applyConstraint(
319
- id: right ,
319
+ id: bottomChild ,
320
320
width: matchParent,
321
321
height: matchConstraint,
322
322
top: guideline.bottom,
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ class Example extends StatefulWidget {
9
9
}
10
10
11
11
class ExampleState extends State <Example > {
12
- ConstraintId left = ConstraintId ();
13
- ConstraintId right = ConstraintId ();
12
+ ConstraintId topChild = ConstraintId ();
13
+ ConstraintId bottomChild = ConstraintId ();
14
14
ConstraintId guideline = ConstraintId ();
15
15
16
16
@override
@@ -22,7 +22,7 @@ class ExampleState extends State<Example> {
22
22
Container (
23
23
color: const Color (0xFF005BBB ),
24
24
).applyConstraint (
25
- id: left ,
25
+ id: topChild ,
26
26
width: matchParent,
27
27
height: matchConstraint,
28
28
top: parent.top,
@@ -36,7 +36,7 @@ class ExampleState extends State<Example> {
36
36
Container (
37
37
color: const Color (0xFFFFD500 ),
38
38
).applyConstraint (
39
- id: right ,
39
+ id: bottomChild ,
40
40
width: matchParent,
41
41
height: matchConstraint,
42
42
top: guideline.bottom,
You can’t perform that action at this time.
0 commit comments