Skip to content

Commit c1e44ce

Browse files
committed
fix pub analysis error
1 parent 554e3d4 commit c1e44ce

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v1.6.1-stable
2+
3+
fix pub analysis error.
4+
15
# v1.6.0-stable
26

37
add open grammar support.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,12 @@ dependencies:
318318
flutter_constraintlayout:
319319
git:
320320
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
321-
ref: 'v1.6.0-stable'
321+
ref: 'v1.6.1-stable'
322322
```
323323
324324
```yaml
325325
dependencies:
326-
flutter_constraintlayout: ^1.6.0-stable
326+
flutter_constraintlayout: ^1.6.1-stable
327327
```
328328
329329
```dart

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,12 @@ dependencies:
283283
flutter_constraintlayout:
284284
git:
285285
url: 'https://github.com/hackware1993/Flutter-ConstraintLayout.git'
286-
ref: 'v1.6.0-stable'
286+
ref: 'v1.6.1-stable'
287287
```
288288
289289
```yaml
290290
dependencies:
291-
flutter_constraintlayout: ^1.6.0-stable
291+
flutter_constraintlayout: ^1.6.1-stable
292292
```
293293
294294
```dart

lib/src/extensions.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,21 @@ class OffBuildWidget extends StatelessWidget {
4848
int get hashCode => id.hashCode;
4949
}
5050

51+
/// Provide open grammar
5152
class MultiChildWidgetContext {
5253
static MultiChildWidgetContext? currentContext;
5354
List<Widget> contextChildren = [];
5455
}
5556

57+
/// Provide open grammar
5658
extension MultiChildWidgetChildExt on Widget {
5759
Widget enter() {
5860
MultiChildWidgetContext.currentContext?.contextChildren.add(this);
5961
return this;
6062
}
6163
}
6264

65+
/// Provide open grammar
6366
extension ConstraintLayoutExt on MultiChildRenderObjectWidget {
6467
Widget open(void Function() block) {
6568
MultiChildWidgetContext? temp = MultiChildWidgetContext.currentContext;
@@ -98,7 +101,6 @@ extension ConstraintLayoutExt on MultiChildRenderObjectWidget {
98101
alignment: stack.alignment,
99102
textDirection: stack.textDirection,
100103
fit: stack.fit,
101-
overflow: stack.overflow,
102104
clipBehavior: stack.clipBehavior,
103105
children: context.contextChildren);
104106
}

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: A super powerful Stack, build flexible layouts with constraints. Similar to ConstraintLayout for Android and AutoLayout for iOS.
3-
version: 1.6.0-stable
3+
version: 1.6.1-stable
44
anthor: hackware
55
homepage: https://github.com/hackware1993/Flutter-ConstraintLayout
66

0 commit comments

Comments
 (0)