diff --git a/pkgs/jni/example/lib/main.dart b/pkgs/jni/example/lib/main.dart index a159a4362..88f2b3218 100644 --- a/pkgs/jni/example/lib/main.dart +++ b/pkgs/jni/example/lib/main.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// ignore_for_file: library_private_types_in_public_api - import 'dart:io'; import 'dart:ui'; @@ -148,7 +146,7 @@ class ExampleCard extends StatefulWidget { final Example example; @override - _ExampleCardState createState() => _ExampleCardState(); + State createState() => _ExampleCardState(); } class _ExampleCardState extends State { diff --git a/pkgs/jni/ffigen.yaml b/pkgs/jni/ffigen.yaml index d9f8a6d67..150880a5a 100644 --- a/pkgs/jni/ffigen.yaml +++ b/pkgs/jni/ffigen.yaml @@ -7,7 +7,7 @@ description: | However, functions prefixed JNI_ are not usable because they are in a different shared library. - Regenerate bindings with `flutter pub run ffigen.dart --config ffigen.yaml`. + Regenerate bindings with `flutter pub run ffigen --config ffigen.yaml`. output: 'lib/src/third_party/jni_bindings_generated.dart' headers: entry-points: diff --git a/pkgs/jni/lib/src/third_party/jni_bindings_generated.dart b/pkgs/jni/lib/src/third_party/jni_bindings_generated.dart index 66ea560a5..87eec850e 100644 --- a/pkgs/jni/lib/src/third_party/jni_bindings_generated.dart +++ b/pkgs/jni/lib/src/third_party/jni_bindings_generated.dart @@ -46,7 +46,7 @@ import 'dart:ffi' as ffi; /// /// However, functions prefixed JNI_ are not usable because they are in a different shared library. /// -/// Regenerate bindings with `flutter pub run ffigen.dart --config ffigen.yaml`. +/// Regenerate bindings with `flutter pub run ffigen --config ffigen.yaml`. /// class JniBindings { /// Holds the symbol lookup function. diff --git a/pkgs/jnigen/test/summary_generation_test.dart b/pkgs/jnigen/test/summary_generation_test.dart index 9648ae9b4..a5a437d9e 100644 --- a/pkgs/jnigen/test/summary_generation_test.dart +++ b/pkgs/jnigen/test/summary_generation_test.dart @@ -5,8 +5,8 @@ // These tests validate summary generation in various scenarios. // Currently, no validation of the summary content itself is done. -// ignore: library_annotations @Tags(['summarizer_test']) +library; import 'dart:math'; diff --git a/pkgs/jnigen/test/summary_test.dart b/pkgs/jnigen/test/summary_test.dart index 886816898..4051a655d 100644 --- a/pkgs/jnigen/test/summary_test.dart +++ b/pkgs/jnigen/test/summary_test.dart @@ -4,8 +4,9 @@ // These tests validate individual characteristics in summary // For example, the values of methods, arguments, types, generic params etc... -// ignore: library_annotations + @Tags(['summarizer_test']) +library; import 'package:jnigen/src/elements/elements.dart'; import 'package:jnigen/src/summary/summary.dart';