quyenvsp · GitHub

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

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/noncheat/flutter_gotoreferences
  2. Using Flutter 3.3.2, right click required this.problemReferences, lib/test.dart:6 > Go to References
  3. Result will show main.dart and test.dart
  4. Using Flutter 3.10.0 repeat step 2
  5. Result only show test.dart

Expected behavior
Flutter 3.7+ when use Go to References of Widget property should find in all files.

Screenshots
Working - Go to References of Widget property in Flutter 3.3.2

Problem - Go to References of Widget property in Flutter 3.10.0

Working - Go to References of function property in Flutter 3.10.0

Please complete the following information:

  • Operating System and version: Windows 11
  • VS Code version: 1.78.1
  • Dart extension version: v3.62.0
  • Dart/Flutter SDK version: Dart 3.0.0 / Flutter 3.10.0

Read the original on github.com ↗