Skip to content

Commit

Permalink
Fix inspector scrollbars. (#2709)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob314 authored Feb 18, 2021
1 parent 59fe949 commit 78b9b69
Show file tree
Hide file tree
Showing 16 changed files with 335 additions and 111 deletions.
5 changes: 5 additions & 0 deletions packages/devtools_app/lib/src/inspector/inspector_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ class InspectorScreenBodyState extends State<InspectorScreenBody>
bool get enableButtons =>
actionInProgress == false && connectionInProgress == false;

static const summaryTreeKey = Key('Summary Tree');
static const detailsTreeKey = Key('Details Tree');

@override
void initState() {
super.initState();
Expand Down Expand Up @@ -102,6 +105,7 @@ class InspectorScreenBodyState extends State<InspectorScreenBody>
final summaryTree = _buildSummaryTreeColumn();

final detailsTree = InspectorTree(
key: detailsTreeKey,
controller: detailsTreeController,
);

Expand Down Expand Up @@ -167,6 +171,7 @@ class InspectorScreenBodyState extends State<InspectorScreenBody>
return Stack(
children: [
InspectorTree(
key: summaryTreeKey,
controller: summaryTreeController,
isSummaryTree: true,
widgetErrors: inspectableErrors,
Expand Down
Loading

0 comments on commit 78b9b69

Please sign in to comment.