Releases: adar2378/pin_code_fields
Releases · adar2378/pin_code_fields
Version 3.1.0
Better performance overall
Features ✨
- Added new parameter called
validator
,autoValidate
&errorTextSpace
.
Breaking changes ⚠️
- The internal
TextField
has been changed toTextFormField
to work withForm
- The debug logs will not be printed in release builds.
Version 3.0.0
Better performance overall
Features ✨
- Added new parameter called
bool Function(String text) beforeTextPaste
, a callback method to validate if text can be pasted. - Introduced
PinTheme
&DialogConfig
- Added an optional constructor parameter:
void Function(String) onCompleted
. which triggers when all fields are filled.
Fixes 🐛
- When pressing the back button to close the keyboard, you can't open the keyboard back up again. #51
- When we long press on the OTP field to paste the code & if clipboard data is NULL, it gets crashed. #45
Breaking changes ⚠️
- Removed all the color, cell height, width & dialog configurations and moved them in
PinTheme
andDialogConfig
Version: 2.5.1
- Updated Documentations
Version: 2.5.0
- Added errorAnimationController to trigger shake animation. It can be used for errors.
- Added autoDisposeControllers which can be set to true for auto TextEidtingController and FocusNode disposal.
- Fixed typos & Optimized code