FFI plugin bump FFIgen to 6.1.2 (#110246)

diff --git a/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl b/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl
index 7ea6b0e..df5ad09 100644
--- a/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl
+++ b/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl
@@ -24,7 +24,7 @@
 dev_dependencies:
 {{#withFfiPluginHook}}
   ffi: ^2.0.1
-  ffigen: ^6.0.1
+  ffigen: ^6.1.2
 {{/withFfiPluginHook}}
   flutter_test:
     sdk: flutter