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+
111[ 3.1.2] Documentation update
212
313[ 3.1.1] Documentation update
616
717Better performance overall
818
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 ⚠️
1124
12- ### Breaking changes ⚠️
1325- The internal ` TextField ` has been changed to ` TextFormField ` to work with ` Form `
1426- The debug logs will not be printed in release builds.
1527
1628## [ 3.0.1]
1729
1830Better Performance overall
1931
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
2335
2436---
2537
2638## [ 3.0.0]
2739
2840Better performance overall
2941
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.
3245- Introduced ` PinTheme ` & ` DialogConfig `
3346- Added an optional constructor parameter: ` void Function(String) onCompleted ` . which triggers when all fields are filled.
3447
35- ### Fixes 🐛
48+ ### Fixes 🐛
49+
3650- When pressing the back button to close the keyboard, you can't open the keyboard back up again. #51
3751- When we long press on the OTP field to paste the code & if clipboard data is NULL, it gets crashed. #45
3852
39- ### Breaking changes ⚠️
53+ ### Breaking changes ⚠️
54+
4055- Removed all the color, cell height, width & dialogconfiguration and moved them in ` PinTheme ` and ` DialogConfig `
4156
4257[ 2.5.1] Documentation update
@@ -45,24 +60,24 @@ Better performance overall
4560
4661Better Performance overall
4762
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
5368
5469---
5570
5671## [ 2.4.0]
5772
5873Better Performance overall
5974
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
6681
6782---
6883
@@ -76,7 +91,7 @@ Better Performance overall
7691
7792Better Performance overall
7893
79- ### Updates ✨
94+ ### Updates ✨
8095
8196- Optional: Exposed ` controller ` so that one can control the texts programmatically
8297- Updated the example code with clear and set manual text buttons.
@@ -102,7 +117,8 @@ Better Performance overall
102117
103118Better performance overall
104119
105- ### Features ✨
120+ ### Features ✨
121+
106122- Colors:
107123 - ` selectedColor ` is the color set on the current index. Default is ` Colors.blue `
108124 - ` disabledColor ` is the color if the TextField is disabled. Default is ` Colors.grey `
@@ -111,12 +127,14 @@ Better performance overall
111127- Added a new constructor parameter called ` enabled ` . Default is true
112128- Added an optional constructor parameter: ` void Function(String) onCompleted ` . which triggers when all fields are filled.
113129
114- ### Fixes 🐛
130+ ### Fixes 🐛
131+
115132- Colors:
116133 - ` activeColor ` and ` inactiveColor ` were swapped
117134- Keyboard does not show up onTap #4
118135
119- ### Breaking changes ⚠️
136+ ### Breaking changes ⚠️
137+
120138- Renamed ` currentText ` to ` onChanged `
121139
122140---
0 commit comments