Skip to content

Commit 58475ac

Browse files
committed
shorten package description
1 parent 0baac5c commit 58475ac

File tree

4 files changed

+10
-97
lines changed

4 files changed

+10
-97
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v1.0.4-stable
2+
3+
shorten package description.
4+
15
# v1.0.3-stable
26

37
reduced constraint computation time to 0.01 ms for normal complexity layouts(10 child elements), 80%

README.md

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -54,52 +54,6 @@ constraint should describe exactly where the child elements are located. Althoug
5454
only be one-way, you can still better handle things that were previously (Android ConstraintLayout)
5555
two-way constraints, such as chains(not yet supported, please use with Flex).
5656

57-
Anyone who sends you a harassing message, you can send him Flutter code and use 'nested hell' to
58-
insult him:
59-
60-
```dart
61-
class NestedHell extends StatelessWidget {
62-
@override
63-
Widget build(BuildContext context) {
64-
return S(
65-
child: U(
66-
child: N(
67-
child: O(
68-
child: F(
69-
child: B(
70-
child: E(
71-
child: A(
72-
child: C(
73-
child: H(
74-
child: F(
75-
child: U(
76-
child: C(
77-
child: K(
78-
child: Y(
79-
child: O(
80-
child: U(
81-
child: Text('ooooooooo'),
82-
),
83-
),
84-
),
85-
),
86-
),
87-
),
88-
),
89-
),
90-
),
91-
),
92-
),
93-
),
94-
),
95-
),
96-
),
97-
),
98-
);
99-
}
100-
}
101-
```
102-
10357
# Feature
10458

10559
1. build flexible layouts with constraints
@@ -214,12 +168,12 @@ dependencies:
214168
flutter_constraintlayout:
215169
git:
216170
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
217-
ref: 'v1.0.3-stable'
171+
ref: 'v1.0.4-stable'
218172
```
219173
220174
```yaml
221175
dependencies:
222-
flutter_constraintlayout: ^1.0.3-stable
176+
flutter_constraintlayout: ^1.0.4-stable
223177
```
224178
225179
```dart

README_CN.md

Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -38,51 +38,6 @@ build 耗时有时甚至超过渲染耗时。
3838
为了布局性能的考虑,约束总是单向的,不允许存在两个子元素相互约束对方(比如 A 的右边约束在 B 的左边,而 B 的左边又反过来约束在 A
3939
的右边)。每一个约束都应该确切的描述子元素是如何定位的。尽管约束只能单向,但你仍然能更好的处理以前双向约束才能做到的事情,比如链(暂时还未支持,请结合 Flex 使用)。
4040

41-
你可以使用以下的”嵌套地狱“代码恶心任何给你发送骚扰信息的人:
42-
43-
```dart
44-
class NestedHell extends StatelessWidget {
45-
@override
46-
Widget build(BuildContext context) {
47-
return S(
48-
child: U(
49-
child: N(
50-
child: O(
51-
child: F(
52-
child: B(
53-
child: E(
54-
child: A(
55-
child: C(
56-
child: H(
57-
child: F(
58-
child: U(
59-
child: C(
60-
child: K(
61-
child: Y(
62-
child: O(
63-
child: U(
64-
child: Text('ooooooooo'),
65-
),
66-
),
67-
),
68-
),
69-
),
70-
),
71-
),
72-
),
73-
),
74-
),
75-
),
76-
),
77-
),
78-
),
79-
),
80-
),
81-
);
82-
}
83-
}
84-
```
85-
8641
# Feature
8742

8843
1. 基本约束
@@ -188,12 +143,12 @@ dependencies:
188143
flutter_constraintlayout:
189144
git:
190145
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
191-
ref: 'v1.0.3-stable'
146+
ref: 'v1.0.4-stable'
192147
```
193148
194149
```yaml
195150
dependencies:
196-
flutter_constraintlayout: ^1.0.3-stable
151+
flutter_constraintlayout: ^1.0.4-stable
197152
```
198153
199154
```dart

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_constraintlayout
2-
description: A super powerful Stack, build flexible layouts with constraints. Similar to ConstraintLayout for Android and AutoLayout for iOS. But the code implementation is much more efficient, it has O(n) layout time complexity and no linear equation solving is required.
3-
version: 1.0.3-stable
2+
description: A super powerful Stack, build flexible layouts with constraints. Similar to ConstraintLayout for Android and AutoLayout for iOS.
3+
version: 1.0.4-stable
44
anthor: hackware
55
homepage: https://github.com/hackware1993/Flutter-ConstraintLayout
66

0 commit comments

Comments
 (0)