anchor.diff:                XmlAttribute(XmlName.fromString('name'), key),
               ],
               <XmlNode>[
  -              XmlText(requiredEntriesMap[key]),
  +              XmlText(value),
               ],
             );
             resources.children.add(newStringElement);
  -        }
  +        });
           break;
         }
         if (modified) {
  
positive.code: // directory.
  class _DeferredComponentAndroidFiles {
    _DeferredComponentAndroidFiles({
      @required this.name,
      @required this.projectDir,
      this.logger,
      Directory templatesDir,
    }) : _templatesDir = templatesDir;
  
    // The name of the deferred component.
    final String name;
    final Directory projectDir;
    final Logger logger;
    final Directory _templatesDir;
  
    Directory get androidDir => projectDir.childDirectory('android');
    Directory get componentDir => androidDir.childDirectory(name);
  
negative.code:   // generates default build.gradle and AndroidManifest.xml for the deferred component.
    Future<List<File>> _setupComponentFiles(Directory outputDir) async {
      Template template;
      final Directory? templatesDir = _templatesDir;
      if (templatesDir != null) {
        final Directory templateComponentDir = templatesDir.childDirectory('module${globals.fs.path.separator}android${globals.fs.path.separator}deferred_component');
        template = Template(templateComponentDir, templateComponentDir, templatesDir,
          fileSystem: globals.fs,
          templateManifest: null,
          logger: logger,
  