-
Notifications
You must be signed in to change notification settings - Fork 345
Add details to diff. #4549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add details to diff. #4549
Changes from 6 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
0ce0fb5
-
polina-c 619923f
-
polina-c 2540916
-
polina-c 01df4b2
Update memory_hover_card.png
polina-c 111649e
Update memory_heap_android.png
polina-c 91acf65
-
polina-c e5fe847
-
polina-c a24171d
-
polina-c 4694120
-
polina-c dc0042f
-
polina-c c41b6a8
-
polina-c e10e68a
-
polina-c ab0b72f
Merge branch 'master' of github.com:flutter/devtools into details-1
polina-c 1f8162a
-
polina-c ad67da0
-
polina-c 7835150
Update pathes.dart
polina-c 4ce9eaa
Update pathes.dart
polina-c 180136d
Merge branch 'master' of github.com:flutter/devtools into details-1
polina-c ff93455
-
polina-c 62f2813
Update pubspec.yaml
polina-c 56ca3d9
Merge branch 'fix' into details-1
polina-c b03c4d6
Merge branch 'master' of github.com:flutter/devtools into details-1
polina-c cf47dd1
Update network_request_inspector_test.dart
polina-c 2d52254
Update README.md
polina-c a925da2
-
polina-c 60fd134
-
polina-c cae9f4e
-
polina-c d5c59f1
Merge branch 'details-1' of github.com:polina-c/devtools; branch 'mas…
polina-c 42cd090
-
polina-c 7e55239
1
polina-c 7841329
-
polina-c c6e052c
-
polina-c 8abe781
Update classes_table_diff.dart
polina-c c4116ff
-
polina-c 53f9a11
-
polina-c b516ee4
-
polina-c e1b983d
-
polina-c f42f7d0
-
polina-c ce030c6
-
polina-c 78ed4bd
Update diff_pane_controller.dart
polina-c 5f99add
-
polina-c d4a7d0d
-
polina-c e10fe7e
Update diff_pane_controller.dart
polina-c 49416bb
-
polina-c 3e11144
Update enhance_tracing.dart
polina-c dfa65a3
-
polina-c 054d49c
Merge remote-tracking branch 'upstream' into details-1
polina-c e57e774
Update heap.dart
polina-c 33af7e2
-
polina-c e82f0fb
-
polina-c b0edb6b
Update snapshot_control_pane.dart
polina-c f361f95
-
polina-c 3314ac2
Update snapshot_control_pane.dart
polina-c 52e5089
Update heap.dart
polina-c dd60109
Update utils_test.dart
polina-c 06c3189
-
polina-c d3066da
Update riverpod_error_logger_observer.dart
polina-c 681a634
Update .gitignore
polina-c ee38e69
-
polina-c 6527fce
-
polina-c 0742aae
-
polina-c 4044422
Update snapshot_control_pane.dart
polina-c 5338a69
Update .gitignore
polina-c da127cb
Update memory_diff_three_snapshots.png
polina-c File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
packages/devtools_app/lib/src/screens/memory/panes/control/chart_button.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright 2019 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
import 'package:flutter/material.dart'; | ||
|
||
import '../../../../shared/common_widgets.dart'; | ||
import '../../../../shared/globals.dart'; | ||
import '../../primitives/ui.dart'; | ||
|
||
class ChartButton extends StatelessWidget { | ||
polina-c marked this conversation as resolved.
Show resolved
Hide resolved
|
||
const ChartButton({Key? key}) : super(key: key); | ||
polina-c marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return ValueListenableBuilder<bool>( | ||
valueListenable: preferences.memory.showChart, | ||
builder: (_, showChart, __) => IconLabelButton( | ||
key: key, | ||
tooltip: showChart ? 'Hide chart' : 'Show chart', | ||
icon: showChart ? Icons.keyboard_arrow_up : Icons.keyboard_arrow_down, | ||
label: 'Chart', | ||
minScreenWidthForTextBeforeScaling: primaryControlsMinVerboseWidth, | ||
onPressed: () => preferences.memory.showChart.value = | ||
!preferences.memory.showChart.value, | ||
), | ||
); | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.