Skip to content

Commit b9835d7

Browse files
author
fbchen
committed
release v0.9.6-stable
1 parent 3f9461a commit b9835d7

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.9.6-stable
2+
3+
preprocess constraints for performance improve.
4+
15
# v0.9.5-stable
26

37
fix constraints print bug.

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ dependencies:
7676
flutter_constraintlayout:
7777
git:
7878
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
79-
ref: 'v0.9.5-stable'
79+
ref: 'v0.9.6-stable'
8080
```
8181
8282
```yaml
8383
dependencies:
84-
flutter_constraintlayout: ^0.9.5-stable
84+
flutter_constraintlayout: ^0.9.6-stable
8585
```
8686
8787
```dart
@@ -561,6 +561,10 @@ class OffBuildExample extends StatelessWidget {
561561
wrapContent will be re-layout. And since the constraints passed to other child elements won't
562562
change, no real re-layout will be triggered.
563563

564+
4. Using preprocessed constraints can improve performance, especially when the ListView is swiping
565+
quickly, constraints are no longer calculated during layout. Need to be used in conjunction with
566+
childConstraints. see example/preprocess_complex_list.dart
567+
564568
# Support me
565569

566570
If it helps you a lot, consider sponsoring me a cup of milk tea.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_constraintlayout
22
description: Build flexible layouts with constraints, Similar to Android ConstraintLayout.
3-
version: 0.9.5-stable
3+
version: 0.9.6-stable
44
anthor: hackware
55
homepage: https://github.com/hackware1993/Flutter-ConstraintLayout
66

0 commit comments

Comments
 (0)