-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Facing issues while localizing the CupertinoDatePicker in a MaterialApp or CupertinoApp. Error: A FixedExtentScrollController was used after being disposed. #131591
Comments
Hi @Abdullah3780. Thanks for filing this issue. This might be similar or related to #130930. If not, kindly provide more information on this issue. More specifically:
Thank you! |
Thanks for your comment. Here is the console log and error. You can also check Code Sample. Screenshot link and console log is there as well.
|
Hi @Abdullah3780. Thanks for your response. From the logs, can you try if this works in your case #93229 (comment)? If not, for this issue to be workable you'd have to provide a completed and minimal reproducible code sample that doesn't include 3rd party plugins or complex production code. |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Is there an existing issue for this?
Steps to reproduce
Expected results
The expected result is that the CupertinoDatePicker should be properly localized within your MaterialApp or CupertinoApp, and users should be able to interact with the date picker without any errors.
Actual results
Scroll Controller is being disposed When I try to change the language. Means, when the state is being updated scroll controller is disposed but new state try to use the previous controller inside the CupertinoDatePicker.
Code sample
Code sample
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: