1
+ # [ 4.0.0]
2
+
3
+ ### Features ✨
4
+
5
+ - Added support for flutter-web
6
+
7
+ ### Breaking changes ⚠️
8
+
9
+ - Replaced internal automatic OS selection for dialog styles, you can select which style you want by configuring with the DialogConfig
10
+
1
11
[ 3.1.2] Documentation update
2
12
3
13
[ 3.1.1] Documentation update
6
16
7
17
Better performance overall
8
18
9
- ### Features ✨
10
- - Added new parameter called ` validator ` , ` autoValidate ` & ` errorTextSpace ` .
19
+ ### Features ✨
20
+
21
+ - Added new parameter called ` validator ` , ` autoValidate ` & ` errorTextSpace ` .
22
+
23
+ ### Breaking changes ⚠️
11
24
12
- ### Breaking changes ⚠️
13
25
- The internal ` TextField ` has been changed to ` TextFormField ` to work with ` Form `
14
26
- The debug logs will not be printed in release builds.
15
27
16
28
## [ 3.0.1]
17
29
18
30
Better Performance overall
19
31
20
- ### Updates ✨
21
- - Fixed bug where calling setState will not reflect the change on the parent view
22
-
32
+ ### Updates ✨
33
+
34
+ - Fixed bug where calling setState will not reflect the change on the parent view
23
35
24
36
---
25
37
26
38
## [ 3.0.0]
27
39
28
40
Better performance overall
29
41
30
- ### Features ✨
31
- - Added new parameter called ` bool Function(String text) beforeTextPaste ` , a callback method to validate if text can be pasted.
42
+ ### Features ✨
43
+
44
+ - Added new parameter called ` bool Function(String text) beforeTextPaste ` , a callback method to validate if text can be pasted.
32
45
- Introduced ` PinTheme ` & ` DialogConfig `
33
46
- Added an optional constructor parameter: ` void Function(String) onCompleted ` . which triggers when all fields are filled.
34
47
35
- ### Fixes 🐛
48
+ ### Fixes 🐛
49
+
36
50
- When pressing the back button to close the keyboard, you can't open the keyboard back up again. #51
37
51
- When we long press on the OTP field to paste the code & if clipboard data is NULL, it gets crashed. #45
38
52
39
- ### Breaking changes ⚠️
53
+ ### Breaking changes ⚠️
54
+
40
55
- Removed all the color, cell height, width & dialogconfiguration and moved them in ` PinTheme ` and ` DialogConfig `
41
56
42
57
[ 2.5.1] Documentation update
@@ -45,24 +60,24 @@ Better performance overall
45
60
46
61
Better Performance overall
47
62
48
- ### Updates ✨
49
- - Added errorAnimationController to trigger shake animation. Can be used for errors.
50
- - Added autoDisposeControllers which can be set to true for auto TextEidtingController and FocusNode disposal .
51
- - Fixed typos & Optimzied code
52
-
63
+ ### Updates ✨
64
+
65
+ - Added errorAnimationController to trigger shake animation. Can be used for errors .
66
+ - Added autoDisposeControllers which can be set to true for auto TextEidtingController and FocusNode disposal.
67
+ - Fixed typos & Optimzied code
53
68
54
69
---
55
70
56
71
## [ 2.4.0]
57
72
58
73
Better Performance overall
59
74
60
- ### Updates ✨
61
- - Optional: Exposed TextCapitalization, TextInputAction.
62
- - Added background color customization for each cell(SelectedCell, UnselectedCell and InactiveCell). But you must set ` enableActiveFill = true ` .
63
- - Added warning messages
64
- - Fixed typos & Optimzied code
65
-
75
+ ### Updates ✨
76
+
77
+ - Optional: Exposed TextCapitalization, TextInputAction .
78
+ - Added background color customization for each cell(SelectedCell, UnselectedCell and InactiveCell). But you must set ` enableActiveFill = true ` .
79
+ - Added warning messages
80
+ - Fixed typos & Optimzied code
66
81
67
82
---
68
83
@@ -76,7 +91,7 @@ Better Performance overall
76
91
77
92
Better Performance overall
78
93
79
- ### Updates ✨
94
+ ### Updates ✨
80
95
81
96
- Optional: Exposed ` controller ` so that one can control the texts programmatically
82
97
- Updated the example code with clear and set manual text buttons.
@@ -102,7 +117,8 @@ Better Performance overall
102
117
103
118
Better performance overall
104
119
105
- ### Features ✨
120
+ ### Features ✨
121
+
106
122
- Colors:
107
123
- ` selectedColor ` is the color set on the current index. Default is ` Colors.blue `
108
124
- ` disabledColor ` is the color if the TextField is disabled. Default is ` Colors.grey `
@@ -111,12 +127,14 @@ Better performance overall
111
127
- Added a new constructor parameter called ` enabled ` . Default is true
112
128
- Added an optional constructor parameter: ` void Function(String) onCompleted ` . which triggers when all fields are filled.
113
129
114
- ### Fixes 🐛
130
+ ### Fixes 🐛
131
+
115
132
- Colors:
116
133
- ` activeColor ` and ` inactiveColor ` were swapped
117
134
- Keyboard does not show up onTap #4
118
135
119
- ### Breaking changes ⚠️
136
+ ### Breaking changes ⚠️
137
+
120
138
- Renamed ` currentText ` to ` onChanged `
121
139
122
140
---
0 commit comments