@@ -7,7 +7,6 @@ import 'package:flutter/material.dart';
77
88import '../../../../shared/analytics/constants.dart' as gac;
99import '../../../../shared/framework/screen.dart' ;
10- import '../../../../shared/globals.dart' ;
1110import '../../../../shared/ui/common_widgets.dart' ;
1211import '../../../../shared/ui/file_import.dart' ;
1312import '../../../../shared/ui/vm_flag_widgets.dart' ;
@@ -103,25 +102,6 @@ class _SecondaryControls extends StatelessWidget {
103102 return Row (
104103 mainAxisAlignment: MainAxisAlignment .end,
105104 children: [
106- if (serviceConnection
107- .serviceManager
108- .connectedApp!
109- .isFlutterNativeAppNow)
110- GaDevToolsButton (
111- icon: Icons .timer,
112- label: 'Profile app start up' ,
113- tooltip:
114- 'Load all Dart CPU samples that occurred before \n '
115- 'the first Flutter frame was drawn (if available)' ,
116- tooltipPadding: const EdgeInsets .all (denseSpacing),
117- gaScreen: gac.cpuProfiler,
118- gaSelection: gac.CpuProfilerEvents .profileAppStartUp.name,
119- minScreenWidthForText: _profilingControlsMinScreenWidthForText,
120- onPressed: ! profilerBusy
121- ? controller.cpuProfilerController.loadAppStartUpProfile
122- : null ,
123- ),
124- const SizedBox (width: denseSpacing),
125105 RefreshButton (
126106 label: 'Load all CPU samples' ,
127107 tooltip:
0 commit comments