File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 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> {
289289
290290``` dart
291291class ExampleState extends State<Example> {
292- ConstraintId left = ConstraintId();
293- ConstraintId right = ConstraintId();
292+ ConstraintId topChild = ConstraintId();
293+ ConstraintId bottomChild = ConstraintId();
294294 ConstraintId guideline = ConstraintId();
295295
296296 @override
@@ -302,7 +302,7 @@ class ExampleState extends State<Example> {
302302 Container(
303303 color: const Color(0xFF005BBB),
304304 ).applyConstraint(
305- id: left ,
305+ id: topChild ,
306306 width: matchParent,
307307 height: matchConstraint,
308308 top: parent.top,
@@ -316,7 +316,7 @@ class ExampleState extends State<Example> {
316316 Container(
317317 color: const Color(0xFFFFD500),
318318 ).applyConstraint(
319- id: right ,
319+ id: bottomChild ,
320320 width: matchParent,
321321 height: matchConstraint,
322322 top: guideline.bottom,
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ class Example extends StatefulWidget {
99}
1010
1111class ExampleState extends State <Example > {
12- ConstraintId left = ConstraintId ();
13- ConstraintId right = ConstraintId ();
12+ ConstraintId topChild = ConstraintId ();
13+ ConstraintId bottomChild = ConstraintId ();
1414 ConstraintId guideline = ConstraintId ();
1515
1616 @override
@@ -22,7 +22,7 @@ class ExampleState extends State<Example> {
2222 Container (
2323 color: const Color (0xFF005BBB ),
2424 ).applyConstraint (
25- id: left ,
25+ id: topChild ,
2626 width: matchParent,
2727 height: matchConstraint,
2828 top: parent.top,
@@ -36,7 +36,7 @@ class ExampleState extends State<Example> {
3636 Container (
3737 color: const Color (0xFFFFD500 ),
3838 ).applyConstraint (
39- id: right ,
39+ id: bottomChild ,
4040 width: matchParent,
4141 height: matchConstraint,
4242 top: guideline.bottom,
You can’t perform that action at this time.
0 commit comments