File tree 5 files changed +12
-10
lines changed
5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.0.1
2
+
3
+ * ` PrototypeConstrainedBox ` unnamed constructor now has default values for ` constrain* ` parameters
4
+ * All ` constrain ` parameters default to ` false `
5
+
1
6
## 2.0.0+1
2
7
3
8
* Improved documentation
Original file line number Diff line number Diff line change 1
1
include : package:flutter_lints/flutter.yaml
2
-
3
- # Additional information about this file can be found at
4
- # https://dart.dev/guides/language/analysis-options
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ packages:
113
113
path: ".."
114
114
relative: true
115
115
source: path
116
- version: "1.0 .0"
116
+ version: "2.1 .0"
117
117
sky_engine:
118
118
dependency: transitive
119
119
description: flutter
Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ final class PrototypeConstrainedBox extends RenderObjectWidget {
60
60
/// to specify the constraint type for each axis independently.
61
61
const PrototypeConstrainedBox ({
62
62
super .key,
63
- required this .constrainMinWidth,
64
- required this .constrainMaxWidth,
65
- required this .constrainMinHeight,
66
- required this .constrainMaxHeight,
67
63
required this .prototype,
68
64
required this .child,
65
+ this .constrainMinWidth = false ,
66
+ this .constrainMaxWidth = false ,
67
+ this .constrainMinHeight = false ,
68
+ this .constrainMaxHeight = false ,
69
69
});
70
70
71
71
/// The widget whose constraints are going to be imposed in [child] .
Original file line number Diff line number Diff line change 1
1
name : prototype_constrained_box
2
2
description : A ConstrainedBox-like widget, but the constraints are given by another widget.
3
- version : 2.0.0+ 1
3
+ version : 2.0.1
4
4
repository : https://github.com/mateusfccp/prototype_constrained_box
5
5
issue_tracker : https://github.com/mateusfccp/prototype_constrained_box/issues
6
6
@@ -12,6 +12,6 @@ dependencies:
12
12
sdk : flutter
13
13
14
14
dev_dependencies :
15
+ flutter_lints : ^3.0.0
15
16
flutter_test :
16
17
sdk : flutter
17
- flutter_lints : ^2.0.0
You can’t perform that action at this time.
0 commit comments