Open llllonger opened 2 years ago
没有特殊配置。
`70:7: Error: No named parameter with the name 'context'. context: context, ^^^^^^^ /C:/flutter_windows_2.10.3-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.5.1/lib/src/screen_util.dart:88:15: Context: Found this candidate, but the arguments don't match. static void init( ^^^^ lib/util/animationpage_util.dart:366:18: Error: Superclass has no method named 'buildMyTransitions'. return super.buildMyTransitions(context, animation, secondaryAnimation, page); ^^^^^^^^^^^^^^^^^^ Unhandled exception: NoSuchMethodError: The getter 'name' was called on null. Receiver: null Tried calling: name
buildMyTransitions 是自定义的方法,代码里都有注释。你搜索这个出错的函数就能找到
//修改flutter的源文件,flutter版本更新后需要添加代码
// E:\flutter\packages\flutter\lib\src\cupertino\route.dart
// 1.搜索
// @override
// Widget buildTransitions(BuildContext context, Animation
//创建一个自定义的ios动画,没有任何特效直接切换页面
// static Widget buildMyPageTransitions
麻烦问一下,运行的时候跑不起来,有什么特殊的配置吗?
--W- The variant: debug, There's no json file --W- The variant: release, There's no json file --W- The variant: profile, There's no json file