-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PinCodeTextField causes constant redraws #371
Comments
I think I run into the same issue from this package @adar2378 |
@Yagorundy @adar2378 It may be happening if you have showCursor enabled. This would be normal, since it is running an infinite animation while the course is activated and a part of the widget is rebuilt.
|
@turulix any update on this? , is it resolved? |
I decided to implement my own, after waiting weeks without a response, but even |
And why doesn't it make sense if you haven't even tried it? You can make the blinking slower, all of this can be set in the options or you can create a new fork out and make the blinking animation slower. But in general it is the expected result and there is nothing to do there. I was able to verify that the frame of a TextField() widget has the same behavior as PinCodeTextField() when the course is activated.. |
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. |
When Adding PinCodeTextField to a screen it causes constant frame redraws, causing performance issues and making Integration testing impossible.
Flutter: v3.16.5
pin_code_fields: 8.0.1
Here is the Same Page with and without a PinCodeTextField from the flutter performance window:
Without:
With:
I couldn't figure out what causes this issue, but maybe you guys can figure it out.
My component looks something like this (some elements are commented out to ensure its not one of those causing the issue):
The text was updated successfully, but these errors were encountered: