From 77a5a5d3a8c1fa0fb0ef05238daa0335667a5657 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Thu, 14 Sep 2023 08:42:41 +0200 Subject: [PATCH] Update plugin_ffi generated file to match FFIgen 9.0.0 (#134614) Template plugin_ffi uses FFIgen and generates both the FFIgen inputs and the generated file. We rolled FFIgen to 9.0.0 in https://github.com/flutter/flutter/pull/130494, which means a slight change to the generated file. * https://github.com/dart-lang/ffigen/issues/619 Note, because of https://github.com/flutter/flutter/issues/105695, we run the test on the FFIgen repo rather than on the flutter CI. --- .../plugin_ffi/lib/projectName_bindings_generated.dart.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_tools/templates/plugin_ffi/lib/projectName_bindings_generated.dart.tmpl b/packages/flutter_tools/templates/plugin_ffi/lib/projectName_bindings_generated.dart.tmpl index cb21d861d25b..11b9f06a2285 100644 --- a/packages/flutter_tools/templates/plugin_ffi/lib/projectName_bindings_generated.dart.tmpl +++ b/packages/flutter_tools/templates/plugin_ffi/lib/projectName_bindings_generated.dart.tmpl @@ -5,6 +5,7 @@ // AUTO GENERATED FILE, DO NOT EDIT. // // Generated by `package:ffigen`. +// ignore_for_file: type=lint import 'dart:ffi' as ffi; /// Bindings for `src/{{projectName}}.h`.