Skip to content
Merged
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
8 changes: 3 additions & 5 deletions packages/devtools_app/lib/src/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ class DevToolsAppState extends State<DevToolsApp> {

Widget _providedControllers({@required Widget child, bool offline = false}) {
final _providers = widget.screens
.where((s) =>
s.providesController && (offline ? s.supportsOffline : true))
.where(
(s) => s.providesController && (offline ? s.supportsOffline : true))
.map((s) => s.controllerProvider)
.toList();

Expand Down Expand Up @@ -581,9 +581,7 @@ List<DevToolsScreen> get defaultScreens {
createController: () => AppSizeController(),
),
DevToolsScreen<VMDeveloperToolsController>(
VMDeveloperToolsScreen(
controller: vmDeveloperToolsController
),
VMDeveloperToolsScreen(controller: vmDeveloperToolsController),
controller: vmDeveloperToolsController,
),
// Uncomment to see a sample implementation of a conditional screen.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,12 @@ class HeapTreeViewState extends State<HeapTree>
_isSnapshotStreaming
? 'Processing...'
: _isSnapshotGraphing
? 'Graphing...'
: _isSnapshotGrouping
? 'Grouping...'
: _isSnapshotComplete
? 'Done'
: '...',
? 'Graphing...'
: _isSnapshotGrouping
? 'Grouping...'
: _isSnapshotComplete
? 'Done'
: '...',
),
],
);
Expand Down Expand Up @@ -479,8 +479,8 @@ class HeapTreeViewState extends State<HeapTree>
final rightSideTable = controller.isLeafSelected
? InstanceTreeView()
: controller.isAnalysisLeafSelected
? Expanded(child: AnalysisInstanceViewTable())
: helpScreen();
? Expanded(child: AnalysisInstanceViewTable())
: helpScreen();

return treeMapVisible
? snapshotDisplay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class VMDeveloperToolsScreenBody extends StatefulWidget {

class _VMDeveloperToolsScreenState extends State<VMDeveloperToolsScreenBody>
with AutoDisposeMixin {

VMDeveloperToolsController controller;

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ MaterialApp
│ state: _MaterialAppState#00000
└─ScrollConfiguration
│ behavior: _MaterialScrollBehavior
│ behavior: MaterialScrollBehavior
└─HeroControllerScope
└─WidgetsApp-[GlobalObjectKey _MaterialAppState#00000]
Expand Down