anchor.diff:  ) {
     if (offlineController.offlineMode.value) return;
     if (serviceManager.connectedApp?.isDebugFlutterAppNow ?? false) {
  -    Provider.of<BannerMessagesController>(context)
  -        .addMessage(DebugModePerformanceMessage(screenId).build(context));
  +    Provider.of<BannerMessagesController>(context).addMessage(
  +      DebugModePerformanceMessage(screenId).build(context) as BannerMessage,
  +    );
     }
   }
   
  
positive.code:                   headerText,
                    style: Theme.of(context)
                        .textTheme
                        .bodyText1
                        .copyWith(color: foregroundColor),
                  ),
                  const SizedBox(width: defaultSpacing),
  
negative.code:     // We push the banner message in a post frame callback because otherwise,
      // we'd be trying to call setState while the parent widget `BannerMessages`
      // is in the middle of `build`.
      WidgetsBinding.instance!.addPostFrameCallback((_) {
        if (dismiss) {
          assert(!_dismissedMessageKeys.contains(message.key));
          _dismissedMessageKeys.add(message.key);
  