File tree 5 files changed +12
-6
lines changed 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change
1
+ # v1.6.1-stable
2
+
3
+ fix pub analysis error.
4
+
1
5
# v1.6.0-stable
2
6
3
7
add open grammar support.
Original file line number Diff line number Diff line change @@ -318,12 +318,12 @@ dependencies:
318
318
flutter_constraintlayout :
319
319
git :
320
320
url : ' https://github.com/hackware1993/Flutter-ConstraintLayout.git'
321
- ref : ' v1.6.0 -stable'
321
+ ref : ' v1.6.1 -stable'
322
322
` ` `
323
323
324
324
` ` ` yaml
325
325
dependencies :
326
- flutter_constraintlayout : ^1.6.0 -stable
326
+ flutter_constraintlayout : ^1.6.1 -stable
327
327
` ` `
328
328
329
329
` ` ` dart
Original file line number Diff line number Diff line change @@ -283,12 +283,12 @@ dependencies:
283
283
flutter_constraintlayout :
284
284
git :
285
285
url : ' https://github.com/hackware1993/Flutter-ConstraintLayout.git'
286
- ref : ' v1.6.0 -stable'
286
+ ref : ' v1.6.1 -stable'
287
287
` ` `
288
288
289
289
` ` ` yaml
290
290
dependencies :
291
- flutter_constraintlayout : ^1.6.0 -stable
291
+ flutter_constraintlayout : ^1.6.1 -stable
292
292
` ` `
293
293
294
294
` ` ` dart
Original file line number Diff line number Diff line change @@ -48,18 +48,21 @@ class OffBuildWidget extends StatelessWidget {
48
48
int get hashCode => id.hashCode;
49
49
}
50
50
51
+ /// Provide open grammar
51
52
class MultiChildWidgetContext {
52
53
static MultiChildWidgetContext ? currentContext;
53
54
List <Widget > contextChildren = [];
54
55
}
55
56
57
+ /// Provide open grammar
56
58
extension MultiChildWidgetChildExt on Widget {
57
59
Widget enter () {
58
60
MultiChildWidgetContext .currentContext? .contextChildren.add (this );
59
61
return this ;
60
62
}
61
63
}
62
64
65
+ /// Provide open grammar
63
66
extension ConstraintLayoutExt on MultiChildRenderObjectWidget {
64
67
Widget open (void Function () block) {
65
68
MultiChildWidgetContext ? temp = MultiChildWidgetContext .currentContext;
@@ -98,7 +101,6 @@ extension ConstraintLayoutExt on MultiChildRenderObjectWidget {
98
101
alignment: stack.alignment,
99
102
textDirection: stack.textDirection,
100
103
fit: stack.fit,
101
- overflow: stack.overflow,
102
104
clipBehavior: stack.clipBehavior,
103
105
children: context.contextChildren);
104
106
}
Original file line number Diff line number Diff line change 1
1
name : flutter_constraintlayout
2
2
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
4
4
anthor : hackware
5
5
homepage : https://github.com/hackware1993/Flutter-ConstraintLayout
6
6
You can’t perform that action at this time.
0 commit comments