Skip to content
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

ignore unused_field for __mouse__ in generated files #144

Closed
chalin opened this issue May 24, 2018 · 3 comments
Closed

ignore unused_field for __mouse__ in generated files #144

chalin opened this issue May 24, 2018 · 3 comments

Comments

@chalin
Copy link
Contributor

chalin commented May 24, 2018

So that we can avoid this analyzer hint:

  hint • The value of the field '__mouse__' isn't used at test/app_po.g.dart:128:19 • unused_field

cc @kevmoo @kwalrath

@chalin
Copy link
Contributor Author

chalin commented Jul 18, 2018

@mk13 - do you think that this can be fixed for 3.0.0 final?

At a minimum, an ignore directive should do it:

  PageLoaderMouse __mouse__; // ignore: unused_field

@mk13
Copy link
Member

mk13 commented Jul 18, 2018

I'll add this in with the 3.0.0 release.

@mk13
Copy link
Member

mk13 commented Aug 3, 2018

Done, will be published with 3.0.0

@mk13 mk13 closed this as completed Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants