You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Go to references of Widget property only search in same file with Flutter 3.7+ #4535
Describe the bug
On newer Flutter version 3.7+ Go to References of Widget property only find in same file.
Old version 3.3.2 working fine.
Go to References of function property work fine on both
Thanks - I can repro this. I think it may be specific to using this. on the parameters. A smaller repro:
classAAA {
finalString? aaa;
constAAA({this.aaa}); // Find reference on aaa here doesn't find the below
}
const a =AAA(aaa:''); // Go-to-Definition on aaa here works
Activity
DanTup commentedon May 11, 2023
Thanks - I can repro this. I think it may be specific to using
this.on the parameters. A smaller repro:[analysis_server] Fix LSP references on initializing formals
DanTup commentedon May 11, 2023
This is fixed by dart-lang/sdk@2d43bc3.
The change is in the Dart analysis server so it'll show up in a future SDK release (rather than a Dart-Code release).