IDE不在颤抖中显示小部件结束注释

Abh*_*ash 1 android-studio flutter

我只是从flutter开始,通常当我们在flutter中编码时,它会virtual comment在每个小部件结束后在IDE中显示一个文本。但是现在我看不到了。我不知道该怎么做才能摆脱困境。

之前

void main() =>
    runApp(MaterialApp(
      home: Home(),
    ));//MaterialApp(These helper comments are missing now)
Run Code Online (Sandbox Code Playgroud)

现在显示时没有虚拟评论

void main() =>
    runApp(MaterialApp(
      home: Home(),
    ));
Run Code Online (Sandbox Code Playgroud)

这是现在正在使用的flutter和dart版本

Flutter 1.5.4-hotfix.2 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 7a4c33425d (4 days ago) • 2019-04-29 11:05:24 -0700
Engine • revision 52c7a1e849
Tools • Dart 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
Run Code Online (Sandbox Code Playgroud)

有人可以告诉我我在这里做错了什么以及如何在android studio中将其重新打开吗?

Dur*_*rdu 13

The checkbox is in Settings (Preferences) | Editor | General | Appearance, toggle 'Show closing labels in Dart source code'. For this change to take effect, you'll have to restart your IDE.