-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Implementations of FocusNode
s throw error.
#148033
Comments
Hi @FMorschel, is there a specific reason you're |
Yes, I've noticed that as well. I commented about it here: dart-lang/language#3748 (comment). The reason I'm implementing it is because I'd like to use an already existing instance of |
Labeling for further insight from the team. Reproducible using the code sample provided above. flutter doctor -v
|
dart-lang/linter#4975 was created and it would help make sure this doesn't happen again. |
The problem is within From the callstack this is being called from line 1373 |
Is there a specific reason that this should not be a public API? If so, this could be always wrapped in a new private class with this API and any other that should continue to be private so this doesn't throw. |
Steps to reproduce
FocusNode
.TextField
.TextField.autofocus
property totrue
.Expected results
No errors.
Actual results
Erros in log bellow.
Code sample
Code sample
Screenshots or Video
No response
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: