otp_helper 0.0.9 copy "otp_helper: ^0.0.9" to clipboard
otp_helper: ^0.0.9 copied to clipboard

Package that makes it easy to integrate a One-Time Password (OTP) verification page into your app.

0.0.9 #

  • Resolved text overflow issue

0.0.8 #

  • Update à resend code

0.0.7 #

  • Update the README.md file

0.0.6 #

  • Automatic navigation to previous field when deleting
  • A proper visual status update

0.0.5 #

  • Add a new property resendCodeTextbuttonColor to customize the color of the resend code text button.

0.0.4 #

  • Custumize the color of the question text in the resend code widget.

0.0.3 #

  • Updating the README.md file.

0.0.2 #

Bug Fixes #

  • Resolved setState() called after dispose() error in OtpPage:
    • Added checks to ensure setState() is only called if the widget is still mounted.
    • Ensured timers and listeners are properly canceled in the dispose() method to prevent memory leaks.
    • Updated the OtpPage class to handle state updates safely, preventing the error from occurring.

Changes #

  • Improved OtpPage class:
    • Added mounted checks before calling setState() to ensure the widget is still in the widget tree.
    • Canceled timers and disposed of controllers and focus nodes in the dispose() method to avoid memory leaks.
    • Ensured that the OTP input fields and focus nodes are properly managed and updated.

Notes #

  • This update addresses a critical issue that could cause the application to crash or behave unexpectedly when navigating away from the OTP verification screen.
  • The changes ensure that the application remains stable and performs efficiently, even when the user interacts with the OTP input fields and navigates between screens.

0.0.1 #

  • Initial release.
  • Implémentation de la page de vérification OTP avec personnalisation des couleurs et gestion de la validation du code OTP.
  • Ajout de la fonctionnalité de renvoi du code OTP après un délai d'attente.
  • Support des traductions via une Map<String, String> pour permettre à l'utilisateur de définir les traductions.
  • Ajout de la possibilité de définir le numéro de téléphone comme variable.
  • Tests unitaires pour vérifier le bon fonctionnement de la page OTP.
2
likes
140
points
71
downloads

Publisher

unverified uploader

Weekly Downloads

Package that makes it easy to integrate a One-Time Password (OTP) verification page into your app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get, otp_autofill, sms_autofill

More

Packages that depend on otp_helper