我刚刚为flutter创建了我的第一个贡献。我可以很好地使用我的包,但由于dart分析发现了一些错误,我得到了一个非常低的分数。我使用了GestureDetector类,并为onLongPressDragStart、onLongPressDragUpdate和onLongPressDragUp实现了回调。根据发布我的包后的分析,这些是错误的: Fix lib/planner_class.dart. (-57.81 points)
Analysis of lib/planner_class.dart failed with 3 errors:
line 163 col 21: The name
我试图迁移dart安全,但是在运行dart migrate时我得到了以下错误
Bad state: Error: package has unmigrated dependencies.
Before migrating your package, we recommend ensuring that every library it
imports (either directly or indirectly) has been migrated to null safety, so
that you will be able to run your unit tests in sound