Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions pkgs/jni/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -148,7 +146,7 @@ class ExampleCard extends StatefulWidget {
final Example example;

@override
_ExampleCardState createState() => _ExampleCardState();
State<ExampleCard> createState() => _ExampleCardState();
}

class _ExampleCardState extends State<ExampleCard> {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/jni/ffigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/jni/lib/src/third_party/jni_bindings_generated.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/jnigen/test/summary_generation_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
3 changes: 2 additions & 1 deletion pkgs/jnigen/test/summary_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Loading