Skip to content

Releases: adar2378/pin_code_fields

Version 3.1.0

14 Jun 20:43
Compare
Choose a tag to compare

Better performance overall

Features ✨

  • Added new parameter called validator, autoValidate & errorTextSpace.

Breaking changes ⚠️

  • The internal TextField has been changed to TextFormField to work with Form
  • The debug logs will not be printed in release builds.

Version 3.0.0

03 May 17:59
Compare
Choose a tag to compare

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 and DialogConfig

Version: 2.5.1

11 Apr 14:56
Compare
Choose a tag to compare
  • Updated Documentations

Version: 2.5.0

11 Apr 14:52
Compare
Choose a tag to compare
  • 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