1

in Android Studio, we can search in the project with "ctrl+shift+f"(in Windows),

but that just shows search results only within our own project.

How can we search any class or method in the entire Flutter source code?

(for example, if I want to search the BackdropFilter class in the Flutter source code, what should I do?)

We can use 'go to definition' in the IDE, but I just want to search.

starriet
  • 2,565
  • 22
  • 23

1 Answers1

5

You can do these steps:

  1. Press Ctrl + Shift + F to open the search window

  2. On Directory tab, choose the destination of your Flutter directory. In my case, it's C:\src\flutter (on Window)

  3. Type in your widget name. Voila!

enter image description here

Bach
  • 2,928
  • 1
  • 6
  • 16