Open lh9403 opened 3 years ago
##这个问题何解啊,自己的工程和demo都报类似的错误
../lib/jpush_flutter.dart:29:12: Error: The parameter 'appKey' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.
String appKey,
^^^^^^
../lib/jpush_flutter.dart:30:10: Error: The parameter 'production' can't have a value of 'null' because of its type 'bool', but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.
bool production,
^^^^^^^^^^
../lib/jpush_flutter.dart:48:18: Error: The parameter 'onReceiveNotification' can't have a value of 'null' because of its type 'Future
2.0.9 修改了。
自己的项目pub安装完导入使用就报错,example也跑不起来