adar2378 / pin_code_fields

A flutter package which will help you to generate pin code fields with beautiful design and animations. Can be useful for OTP or pin code inputs 🤓🤓
https://pub.dev/packages/pin_code_fields
MIT License
699 stars 340 forks source link

Fix Error : TextEditingController was used after being disposed #272

Closed faisalramdan17 closed 2 years ago

faisalramdan17 commented 2 years ago

I have got error when using PageView :

Exception has occurred.
FlutterError (A TextEditingController was used after being disposed.
Once you have called dispose() on a TextEditingController, it can no longer be used.)

And already fixed with this changes : change from this.autoDisposeControllers = true to be this.autoDisposeControllers = false

I hope you don't mind pulling my commits. Thanks!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.