Skip to content

Commit aabda93

Browse files
author
fbchen
committed
update readme
1 parent 6c5c0f8 commit aabda93

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ class ExampleState extends State<Example> {
289289

290290
```dart
291291
class ExampleState extends State<Example> {
292-
ConstraintId topChild = ConstraintId();
293-
ConstraintId bottomChild = ConstraintId();
294292
ConstraintId guideline = ConstraintId();
295293
296294
@override
@@ -302,7 +300,6 @@ class ExampleState extends State<Example> {
302300
Container(
303301
color: const Color(0xFF005BBB),
304302
).applyConstraint(
305-
id: topChild,
306303
width: matchParent,
307304
height: matchConstraint,
308305
top: parent.top,
@@ -316,7 +313,6 @@ class ExampleState extends State<Example> {
316313
Container(
317314
color: const Color(0xFFFFD500),
318315
).applyConstraint(
319-
id: bottomChild,
320316
width: matchParent,
321317
height: matchConstraint,
322318
top: guideline.bottom,

lib/example.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ class Example extends StatefulWidget {
99
}
1010

1111
class ExampleState extends State<Example> {
12-
ConstraintId topChild = ConstraintId();
13-
ConstraintId bottomChild = ConstraintId();
1412
ConstraintId guideline = ConstraintId();
1513

1614
@override
@@ -22,7 +20,6 @@ class ExampleState extends State<Example> {
2220
Container(
2321
color: const Color(0xFF005BBB),
2422
).applyConstraint(
25-
id: topChild,
2623
width: matchParent,
2724
height: matchConstraint,
2825
top: parent.top,
@@ -36,7 +33,6 @@ class ExampleState extends State<Example> {
3633
Container(
3734
color: const Color(0xFFFFD500),
3835
).applyConstraint(
39-
id: bottomChild,
4036
width: matchParent,
4137
height: matchConstraint,
4238
top: guideline.bottom,

0 commit comments

Comments
 (0)