title: flutter inspector doesn't work for the app from my github repository
body: <p>The flutter inspector doesn't work (not showing widgets tree) for my project (it's cloned from github).
  To figure out what's wrong in my project, I generated new flutter applications, and the behavior is weird.</p>
  
  <ol>
  <li>When I generate a new flutter application (flutter's default new flutter project) in a NEW directory, flutter inspector works ok.</li>
  <li>If I make a new flutter application INSIDE my project directory (let's say myproject/temp), the inspector doesn't show the widgets tree. </li>
  <li>If I delete my project directory (myproject), make a directory with the same name (myproject), and generate a new flutter application inside the directory (myproject/temp), then the inspector works ok.</li>
  <li>If I make 'myproject' directory manually (mkdir myproject), copy all myproject files to myproject/ (cp myproject_backup/* myproject/), and generate a new flutter application inside myproject/temp, then the inspector doesn't work.</li>
  <li>If I make 'myproject' directory manually (mkdir myproject), generate a new flutter application inside myproject/temp, copy all myproject files to myproject/ (cp myproject_backup/* myproject/), then the inspector doesn't work.</li>
  </ol>
  
  <p>Can the other files in the same folder (myproject/*) affect the behavior of the flutter project (esp. inspector)?
  What else can go wrong in this case?</p>
  
  <p>Here's my setting:</p>
  
  <pre><code>Flutter: Channel stable, v1.17.1, on Mac OS X 10.15.5
  Dart: version 2.8.2
  Android SDK version 28.0.3
  Android Studio (version 4.0)
  Flutter plugin version 46.0.2
  Dart plugin version 193.7361
  </code></pre>