diff --git a/experimental/pedometer/example/lib/steps_repo.dart b/experimental/pedometer/example/lib/steps_repo.dart index e11ed2c12..22da6be3c 100644 --- a/experimental/pedometer/example/lib/steps_repo.dart +++ b/experimental/pedometer/example/lib/steps_repo.dart @@ -1,5 +1,3 @@ -// ignore_for_file: depend_on_referenced_packages - import 'dart:ffi' as ffi; import 'dart:io'; import 'dart:isolate'; diff --git a/experimental/pedometer/example/pubspec.yaml b/experimental/pedometer/example/pubspec.yaml index 93ce4c2a0..1df87eb09 100644 --- a/experimental/pedometer/example/pubspec.yaml +++ b/experimental/pedometer/example/pubspec.yaml @@ -44,6 +44,11 @@ dependencies: cupertino_icons: ^1.0.2 ffi: ^2.0.1 intl: ^0.18.0 + jni: + git: + url: https://github.com/dart-lang/jnigen + ref: suspend-fun + path: ./jni fl_chart: ^0.55.2 dev_dependencies: