anchor.diff:          ),
           const SizedBox(width: defaultSpacing),
           ExportButton(
  -          onPressed: controller.cpuProfileData != null &&
  +          onPressed: !recording &&
  +                  controller.cpuProfileData != null &&
                     !controller.cpuProfileData.isEmpty
                 ? () => _exportPerformance(context)
                 : null,
  
positive.code: }
  
  class _SecondaryControls extends StatelessWidget {
    const _SecondaryControls({@required this.controller});
  
    static const _secondaryControlsMinIncludeTextWidth = 1100.0;
  
    final ProfilerScreenController controller;
  
    @override
    Widget build(BuildContext context) {
  
negative.code:         ),
          _SecondaryControls(
            controller: controller,
            recording: recording,
          ),
        ],
      );
  