File tree 5 files changed +6
-6
lines changed
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
2
2
* Add property for max lines and min lines
3
3
4
4
## 1.0.5
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class _MyHomePageState extends State<MyHomePage> {
71
71
keyboardType: TextInputType .text,
72
72
hint: "Full Name" ,
73
73
labelText: "Name" ,
74
- maxLines: 1 ,
74
+ maxLines: 2 ,
75
75
theme: FilledOrOutlinedTextTheme (
76
76
enabledColor: Colors .grey,
77
77
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
19
19
version : 1.0.0+1
20
20
21
21
environment :
22
- sdk : ' >=2.19.2 <3 .0.0'
22
+ sdk : ' >=2.19.2 <4 .0.0'
23
23
24
24
# Dependencies specify other packages that your package needs in order to work.
25
25
# 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 {
123
123
final TextAlignVertical ? textAlignVertical;
124
124
125
125
/// Max lines for the text field
126
- int ? maxLines = 1 ;
126
+ final int ? maxLines;
127
127
128
128
/// Min lines for the text field
129
129
final int ? minLines;
130
130
131
- MaterialTextField (
131
+ const MaterialTextField (
132
132
{Key ? key,
133
133
this .textAlign = TextAlign .start,
134
134
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
7
7
documentation : https://github.com/DevCrew-io/material-text-fields/blob/main/example/README.md
8
8
9
9
environment :
10
- sdk : ' >=2.19.2 <3 .0.0'
10
+ sdk : ' >=2.19.2 <4 .0.0'
11
11
flutter : " >=1.17.0"
12
12
13
13
dependencies :
You can’t perform that action at this time.
0 commit comments