Skip to content

Commit

Permalink
[Inspector V2] Turn on auto-refreshes of the widget tree by default (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
elliette authored Dec 19, 2024
1 parent 65ceb66 commit a6a8f23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ class InspectorPreferencesController extends DisposableController

final _hoverEvalMode = ValueNotifier<bool>(false);
final _inspectorV2Enabled = ValueNotifier<bool>(false);
// TODO(https://github.com/flutter/devtools/issues/1423): Default to true
// after verifying auto-refreshes are performant.
final _autoRefreshEnabled = ValueNotifier<bool>(false);
final _autoRefreshEnabled = ValueNotifier<bool>(true);
final _pubRootDirectories = ListValueNotifier<String>([]);
final _pubRootDirectoriesAreBusy = ValueNotifier<bool>(false);
final _busyCounter = ValueNotifier<int>(0);
Expand Down
2 changes: 2 additions & 0 deletions packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ To learn more about DevTools, check out the
## Inspector updates

* Selecting an implementation widget on the device while implementation widget's are hidden in the [new Inspector's](https://docs.flutter.dev/tools/devtools/release-notes/release-notes-2.40.1#inspector-updates) does not show an error. - [#8625](https://github.com/flutter/devtools/pull/8625)
* Enabled auto-refreshes of the widget tree on hot-reloads and navigation events by default. This can be disabled in the Inspector settings. - [#8646](https://github.com/flutter/devtools/pull/8646)
![Auto-refresh setting](images/inspector_auto_refresh_setting.png "Inspector auto-refresh setting")

## Performance updates

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a6a8f23

Please sign in to comment.