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