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

Add TargetKind.getter item to @Target attribute for PreResolve #461

Open
bambinoua opened this issue May 13, 2024 · 0 comments
Open

Add TargetKind.getter item to @Target attribute for PreResolve #461

bambinoua opened this issue May 13, 2024 · 0 comments

Comments

@bambinoua
Copy link

After new flutter_lints installed I get this message on pre-resolved getters:

The annotation 'preResolve' can only be used on methods.

It wouild be good to add TargetKind.getter to @Target attribute for PreResolve.

@Target({TargetKind.method})
class PreResolve {
  const PreResolve._();
}
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

1 participant