Skip to content

Commit 8af958a

Browse files
author
fbchen
committed
release v0.2-alpha
1 parent a037d88 commit 8af958a

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ ConstraintLayout will only be measured once, This results in extremely high layo
88
# Feature
99

1010
1. build flexible layouts with constraints
11+
1. leftToLeft
12+
2. leftToRight
13+
3. rightToLeft
14+
4. rightToRight
15+
5. topToTop
16+
6. topToBottom
17+
7. bottomToTop
18+
8. bottomToBottom
19+
9. baselineToTop
20+
10. baselineToBottom
21+
11. baselineToBaseline
22+
12. width、height can be set: CL.matchParent、CL.wrapContent、CL.matchConstraint、fixed size
23+
13. center、centerHorizontal、centerVertical
1124
2. margin and goneMargin
1225
3. clickPadding (quickly expand the click area of child elements without changing their actual size)
1326
4. visibility control
@@ -43,7 +56,7 @@ dependencies:
4356
flutter_constraintlayout:
4457
git:
4558
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
46-
ref: 'v0.1-stable'
59+
ref: 'v0.2-alpha'
4760
```
4861
4962
# Example

lib/constrait_layout/constraint_layout.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ class Constrained extends ParentDataWidget<_ConstraintBoxData> {
248248
// TODO support dimension ratio
249249
// TODO support barrier
250250
// TODO support guideline
251-
// TODO support baseline align
252251
// TODO consider flow
253252
// group is pointless
254253

0 commit comments

Comments
 (0)