It seems TextEditingController
keeps all plain input text including password in the memory.
I have tried many things so far
controller.dispose()
- set the value
null
- replace with other text
- zero out the memory of
controller.text
by using theFFI
The problem is that the input logs(plain text json format) remain in the memory.
https://github.com/flutter/flutter/issues/84708
This is a critical issue for me.
Please let me know how to zero out the password in the memory.
Thank you.