File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- ## 1.0.5
1+ ## 1.0.6
22* Add property for max lines and min lines
33
44## 1.0.5
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class _MyHomePageState extends State<MyHomePage> {
7171 keyboardType: TextInputType .text,
7272 hint: "Full Name" ,
7373 labelText: "Name" ,
74- maxLines: 1 ,
74+ maxLines: 2 ,
7575 theme: FilledOrOutlinedTextTheme (
7676 enabledColor: Colors .grey,
7777 focusedColor: Colors .green,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1919version : 1.0.0+1
2020
2121environment :
22- sdk : ' >=2.19.2 <3 .0.0'
22+ sdk : ' >=2.19.2 <4 .0.0'
2323
2424# Dependencies specify other packages that your package needs in order to work.
2525# To automatically upgrade your package dependencies to the latest versions
Original file line number Diff line number Diff line change @@ -123,12 +123,12 @@ class MaterialTextField extends StatelessWidget {
123123 final TextAlignVertical ? textAlignVertical;
124124
125125 /// Max lines for the text field
126- int ? maxLines = 1 ;
126+ final int ? maxLines;
127127
128128 /// Min lines for the text field
129129 final int ? minLines;
130130
131- MaterialTextField (
131+ const MaterialTextField (
132132 {Key ? key,
133133 this .textAlign = TextAlign .start,
134134 this .textAlignVertical,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ issue_tracker: https://github.com/DevCrew-io/material-text-fields/issues
77documentation : https://github.com/DevCrew-io/material-text-fields/blob/main/example/README.md
88
99environment :
10- sdk : ' >=2.19.2 <3 .0.0'
10+ sdk : ' >=2.19.2 <4 .0.0'
1111 flutter : " >=1.17.0"
1212
1313dependencies :
You can’t perform that action at this time.
0 commit comments