Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:vm_service/vm_service.dart' hide Stack;

Expand Down Expand Up @@ -242,7 +241,7 @@ class _InspectorScreenBodyState extends State<InspectorScreenBody>
inspectorService: inspectorService,
treeType: FlutterTreeType.widget,
onExpandCollapseSupported: _onExpandCollapseSupported,
onLayoutExplorerSupported: kIsWeb ? null : _onLayoutExplorerSupported,
onLayoutExplorerSupported: _onLayoutExplorerSupported,
);

// TODO(jacobr): move this notice display to once a day.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ class InspectorController extends DisposableController
debugSummaryLayoutEnabled.value = !debugSummaryLayoutEnabled.value;
}

// TODO(albertusangga): Remove this flag if required CL to Flutter is landed
static bool enableExperimentalStoryOfLayout = false;
static bool enableExperimentalStoryOfLayout = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So sorry for this one, I should have removed it completely, this is unnecessary to enable the layout explorer


final List<VoidCallback> _selectionListeners = [];

Expand Down