File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Expand file tree Collapse file tree 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+
15# v1.6.0-stable
26
37add open grammar support.
Original file line number Diff line number Diff 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
325325dependencies :
326- flutter_constraintlayout : ^1.6.0 -stable
326+ flutter_constraintlayout : ^1.6.1 -stable
327327` ` `
328328
329329` ` ` dart
Original file line number Diff line number Diff 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
290290dependencies :
291- flutter_constraintlayout : ^1.6.0 -stable
291+ flutter_constraintlayout : ^1.6.1 -stable
292292` ` `
293293
294294` ` ` dart
Original file line number Diff line number Diff line change @@ -48,18 +48,21 @@ class OffBuildWidget extends StatelessWidget {
4848 int get hashCode => id.hashCode;
4949}
5050
51+ /// Provide open grammar
5152class MultiChildWidgetContext {
5253 static MultiChildWidgetContext ? currentContext;
5354 List <Widget > contextChildren = [];
5455}
5556
57+ /// Provide open grammar
5658extension MultiChildWidgetChildExt on Widget {
5759 Widget enter () {
5860 MultiChildWidgetContext .currentContext? .contextChildren.add (this );
5961 return this ;
6062 }
6163}
6264
65+ /// Provide open grammar
6366extension 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 }
Original file line number Diff line number Diff line change 11name : flutter_constraintlayout
22description : 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
44anthor : hackware
55homepage : https://github.com/hackware1993/Flutter-ConstraintLayout
66
You can’t perform that action at this time.
0 commit comments