diff --git a/packages/flutter_tools/lib/src/flutter_plugins.dart b/packages/flutter_tools/lib/src/flutter_plugins.dart index 9cc786807b..416aaf8efb 100644 --- a/packages/flutter_tools/lib/src/flutter_plugins.dart +++ b/packages/flutter_tools/lib/src/flutter_plugins.dart @@ -427,6 +427,8 @@ const String _objcPluginRegistryHeaderTemplate = ''' // Generated file. Do not edit. // +// clang-format off + #ifndef GeneratedPluginRegistrant_h #define GeneratedPluginRegistrant_h @@ -447,6 +449,8 @@ const String _objcPluginRegistryImplementationTemplate = ''' // Generated file. Do not edit. // +// clang-format off + #import "GeneratedPluginRegistrant.h" {{#plugins}} @@ -543,6 +547,8 @@ const String _cppPluginRegistryHeaderTemplate = ''' // Generated file. Do not edit. // +// clang-format off + #ifndef GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_ @@ -559,6 +565,8 @@ const String _cppPluginRegistryImplementationTemplate = ''' // Generated file. Do not edit. // +// clang-format off + #include "generated_plugin_registrant.h" {{#plugins}} @@ -578,6 +586,8 @@ const String _linuxPluginRegistryHeaderTemplate = ''' // Generated file. Do not edit. // +// clang-format off + #ifndef GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_ @@ -594,6 +604,8 @@ const String _linuxPluginRegistryImplementationTemplate = ''' // Generated file. Do not edit. // +// clang-format off + #include "generated_plugin_registrant.h" {{#plugins}}