-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
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
Repeatedly send post request error #171
Comments
@slb2709673 need a reproduction and more info like what version you're using. |
Using with flutter, package version I'm having the same issue, code snippet below:
And the stack trace:
|
Since you're using Flutter this issue probably belongs over there. However, I think what's common for both of you is that you're facing an 'Unhandled exception'.
Any uncaught exceptions will bubble up to whoever is calling the example code and will need to be handled there.
|
@cskau-g sorry, it was my first day with dart and flutter, and my code was totally off! I should have updated my situation here! |
No worries! I hope you were able to have fun and be productive with Dart and Flutter regardless. :) |
[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type '(Exception) => Null' is not a subtype of type '(Object) => FutureOr'
#0 _FutureListener.handleError (dart:async/future_impl.dart:145:11)
#1 Future._propagateToListeners.handleError (dart:async/future_impl.dart:645:47)
#2 Future._propagateToListeners (dart:async/future_impl.dart:666:24)
#3 Future._completeError (dart:async/future_impl.dart:485:5)
#4 _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)
#5 _Completer.completeError (dart:async/future_impl.dart:27:5)
#6 _withClient (package:http/http.dart)
#7 post (package:http/http.dart:70:3)
#8 _RightSlideState._loadRightCategroy (package:name/widget/categroy.dart:159:10)
#9 _RightSlideState.didUpdateWidget (package:name/widget/categroy.dart:148:5)
#10 StatefulElement.update (package:flutter/src/widgets/framework.dart:3784:58)
#11 Element.updateChild (package:flutter/src/widgets/framework.dart:<…>
The text was updated successfully, but these errors were encountered: