-
Notifications
You must be signed in to change notification settings - Fork 30
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
Consider unawaited_futures
for inclusion
#25
Comments
+1 on adding a method side opt out for unawaited_futures. We see a very large # of calls to |
@goderbauer: do any Flutter APIs spring to mind that you'd want to tag as unwaitable? it'd be handy to have some concrete examples to drive the discussion. |
The Future-returning APIs on AnimationController and Navigator are the most common examples, things like AnimationController.forward() / AnimationController.reverse() and Navigator.push() as well as its similarly named friends. |
Corresponding issue to discussion an annotation in |
@pq to create a proposal for how this would work |
unawaited_futures
for inclusion
We had initially selected
unawaited_futures
for inclusion in core lints, however ran into some issues that need resolving first, including:Navigator
andAnimationController
methods, maybe others)The text was updated successfully, but these errors were encountered: