Skip to content

Commit 86d12a4

Browse files
author
fbchen
committed
release v0.2-alpha2
1 parent af9fdd8 commit 86d12a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ dependencies:
5656
flutter_constraintlayout:
5757
git:
5858
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
59-
ref: 'v0.2-alpha'
59+
ref: 'v0.2-alpha2'
6060
```
6161
6262
# Example
@@ -139,7 +139,7 @@ class ExampleState extends State<Example> {
139139
id: 'box5',
140140
width: 120,
141141
height: 100,
142-
center: true,
142+
center: CL.parent,
143143
zIndex: 100,
144144
translate: Offset(x, y),
145145
clickPadding: const EdgeInsets.all(30),
@@ -162,7 +162,7 @@ class ExampleState extends State<Example> {
162162
id: 'box6',
163163
width: 120,
164164
height: 120,
165-
centerVertical: true,
165+
centerVertical: 'box2',
166166
verticalBias: 0.8,
167167
leftToRight: 'box3',
168168
rightToRight: CL.parent,

effect.gif

96.4 KB
Loading

0 commit comments

Comments
 (0)