We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Exception: type 'Null' is not a subtype of type 'Object' #0 _AsyncCompleter.complete (dart:async/future_impl.dart:46:41) #1 FlutterBoostAppState._completePendingNativeResultIfNeeded. (package:flutter_boost/flutter_boost_app.dart:521:28) #2 List.forEach (dart:core-patch/growable_array.dart:403:8) #3 FlutterBoostAppState._completePendingNativeResultIfNeeded (package:flutter_boost/flutter_boost_app.dart:520:10) #4 FlutterBoostAppState.onContainerShow. (package:flutter_boost/flutter_boost_app.dart:545:13) #5 new Future.delayed. (dart:async/future.dart:315:39) #6 _rootRun (dart:async/zone.dart:1346:47) #7 _CustomZone.run (dart:async/zone.dart:1258:19) #8 _CustomZone.runGuarded (dart:async/zone.dart:1162:7) #9 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1202:23)
简单的示例 Completer myCompleter; myCompleter = Completer(); debugPrint("do do do "); myCompleter.complete();
必crash
The text was updated successfully, but these errors were encountered:
参考flutter的Navigator
Sorry, something went wrong.
v3.0-release1.0的tag上仍会报这个错,push方法源码上我看已经有了T extends Object?,是不是还有pushWithResult需要加
push
No branches or pull requests
Unhandled Exception: type 'Null' is not a subtype of type 'Object'
#0 _AsyncCompleter.complete (dart:async/future_impl.dart:46:41)
#1 FlutterBoostAppState._completePendingNativeResultIfNeeded. (package:flutter_boost/flutter_boost_app.dart:521:28)
#2 List.forEach (dart:core-patch/growable_array.dart:403:8)
#3 FlutterBoostAppState._completePendingNativeResultIfNeeded (package:flutter_boost/flutter_boost_app.dart:520:10)
#4 FlutterBoostAppState.onContainerShow. (package:flutter_boost/flutter_boost_app.dart:545:13)
#5 new Future.delayed. (dart:async/future.dart:315:39)
#6 _rootRun (dart:async/zone.dart:1346:47)
#7 _CustomZone.run (dart:async/zone.dart:1258:19)
#8 _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
#9 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1202:23)
简单的示例
Completer myCompleter;
myCompleter = Completer();
debugPrint("do do do ");
myCompleter.complete();
必crash
The text was updated successfully, but these errors were encountered: