anchor.diff:        final data = trace.DataAggregate(
           sample.timestamp,
           MemoryEventsPaneState.extensionEvent,
  -        events.extensionEvents.theEvents.length,
  +        (events.extensionEvents?.theEvents ?? []).length,
         );
         addDataToTrace(TraceName.extensionEvents.index, data);
       }
  
positive.code:   void didChangeDependencies() {
      super.didChangeDependencies();
  
      _memoryController = Provider.of<MemoryController>(context);
  
      final themeData = Theme.of(context);
      colorScheme = themeData.colorScheme;
  
      cancelListeners();
  
  
negative.code: }
  
  class MemoryEventsPane extends StatefulWidget {
    const MemoryEventsPane(this.chartController, {Key? key}) : super(key: key);
  
    final EventChartController chartController;
  
  