Skip to content

Commit 6f83978

Browse files
committed
support dimension ratio
1 parent 192bedb commit 6f83978

File tree

4 files changed

+224
-119
lines changed

4 files changed

+224
-119
lines changed

CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
v.0.8.9-stable:
1+
# v0.9.0-stable
2+
3+
support dimension ratio.
4+
5+
# v.0.8.9-stable
6+
27
support min、max size set.
38

4-
v.0.8.8-stable:
9+
# v.0.8.8-stable
10+
511
make parent final.
612

7-
v.0.8.7-stable:
13+
# v.0.8.7-stable:
14+
815
just update readme.
916

10-
v0.8.6-stable:
17+
# v0.8.6-stable:
18+
1119
The first version published to pub.dev.
1220

1321
The following functions are supported:

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ No matter how complex the layout is and how deep the constraints are, it has alm
66
performance as Flex and Stack. When facing complex layouts, it provides better performance,
77
flexibility, and a very flat code hierarchy than Flex and Stack. Say no to 'nesting hell'.
88

9-
**It is recommended to use ConstraintLayout at the top level. For extremely complex layout(One
10-
thousand child elements, two thousand constraints), layout and drawing total time within 5
11-
milliseconds(debug mode on Windows 10,release mode take less time), the frame rate can be easily
12-
reached 200 fps.**
9+
**Flutter ConstraintLayout has extremely high layout performance because it does not require linear
10+
equations to solve. It is recommended to use ConstraintLayout at the top level. For extremely
11+
complex layout(One thousand child elements, two thousand constraints), layout and drawing total time
12+
within 5 milliseconds(debug mode on Windows 10,release mode take less time), the frame rate can be
13+
easily reached 200 fps.**
1314

1415
**If not necessary, try to be relative to the parent layout, so that you can define less id.**
1516

@@ -53,13 +54,13 @@ insult him.
5354
10. guideline
5455
11. constraints and widgets separation
5556
12. barrier
57+
13. dimension ratio
5658

5759
Coming soon:
5860

59-
1. constraints visualization
60-
2. chain
61-
3. dimension ratio
62-
4. more...
61+
1. chain
62+
2. constraints visualization
63+
3. more...
6364

6465
Support platform:
6566

@@ -79,12 +80,12 @@ dependencies:
7980
flutter_constraintlayout:
8081
git:
8182
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
82-
ref: 'v0.8.9-stable'
83+
ref: 'v0.9.0-stable'
8384
```
8485
8586
```yaml
8687
dependencies:
87-
flutter_constraintlayout: ^0.8.9-stable
88+
flutter_constraintlayout: ^0.9.0-stable
8889
```
8990
9091
```dart

0 commit comments

Comments
 (0)