diff --git a/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl b/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl index 1a000adc17..7ea6b0e567 100644 --- a/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl @@ -23,8 +23,8 @@ dependencies: dev_dependencies: {{#withFfiPluginHook}} - ffi: ^1.2.1 - ffigen: ^5.0.1 + ffi: ^2.0.1 + ffigen: ^6.0.1 {{/withFfiPluginHook}} flutter_test: sdk: flutter